Horje
use environment secret variable in helm Code Example
use environment secret variable in helm
you cant pass pass Variables from any template to values.yaml with helm. Just from values.yaml to the templates.

The answer you are seeking was posted by mehowthe :

deployment.yaml =

      env:          
        {{- range .Values.env }}
      - name: {{ .name }}
        value: {{ .value }}
     {{- end }}
values.yaml =

env:          
 - name: "DBUser"
   value: ""
 - name: "DBPassword"
   value: ""
then

helm install chart_name --name release_name --set env.DBUser="FOO" --set env.DBPassword="BAR"




Shell

Related
git status deleated files Code Example git status deleated files Code Example
eslint --fix Code Example eslint --fix Code Example
github url not showing Code Example github url not showing Code Example
Use dropbox as private git repository Code Example Use dropbox as private git repository Code Example
How can I make a bash command run periodically Code Example How can I make a bash command run periodically Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11