Skip to content

Values.yml file for HelmRelease with HelmRepo src #2919

Answered by hiddeco
pdeva asked this question in Q&A
Discussion options

You must be logged in to vote

You have two options to configure it on the HelmRelease:

  1. Put it in .spec.values of the HelmRelease, which supports structured YAML.
  2. Put it in a ConfigMap or Secret:
    apiVersion: v1
    kind: Secret
    metadata:
      name: release-values
    stringData:
      values.yaml: |
        nested:
          values: here

There is no way to refer to an actual values.yaml file, because the controller can only look at Kubernetes API objects (like a ConfigMap, Secret and the HelmRelease itself), and has no means to retrieve any file reference unless it is included with the chart. In which case you can configure it on the HelmChart, see .spec.valuesFiles for more information on this.

Note that you only need to include values w…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@pdeva
Comment options

@hiddeco
Comment options

@pdeva
Comment options

@eguarc
Comment options

Answer selected by kingdonb
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@stefanprodan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants