You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we defined secretEnv section in values.yaml for master or tserver, we observe the helm chart deployment fails and so does 'helm template' command.
Following section is added:
`master:
affinity:
podAntiAffinity: {}
extraEnv: []
extraVolumeMounts: []
extraVolumes: []
podAnnotations: {}
podLabels: {}
secretEnv:
If we defined secretEnv section in values.yaml for master or tserver, we observe the helm chart deployment fails and so does 'helm template' command.
Following section is added:
`master:
affinity:
podAntiAffinity: {}
extraEnv: []
extraVolumeMounts: []
extraVolumes: []
podAnnotations: {}
podLabels: {}
secretEnv:
valueFrom:
secretKeyRef:
name: test-secret
key: password`
Helm template command execution fails with reason:
Error: template: yugabyte/templates/service.yaml:385:12: executing "yugabyte/templates/service.yaml" at <include "yugabyte.addenvsecrets" $data>: error calling include: template: yugabyte/templates/_helpers.tpl:119:15: executing "yugabyte.addenvsecrets" at <$v.valueFrom.secretKeyRef.namespace>: nil pointer evaluating interface {}.secretKeyRef
Thanks
Rohan Roy Sharma
The text was updated successfully, but these errors were encountered: