Skip to content

Specify inclusion type #5

Description

@mihai-stancu

Hi,

I sometimes need to define a YAML text node that contains text which will be treated as YAML (or JSON). For example helm

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: some-config
spec:
  valuesContent: |-
     val1: 'this'
     val1: 'that'

I'd rather use a separate file, but that file should also be a *.yml file (for syntax highlighting).
Currently !include some-config-values.yml would treat it as a YAML and inline it as an object node.

Would it be possible to specify an extra parameter !include txt some-config-values.yml?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions