Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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"
Comment

PREVIOUS NEXT
Code Example
Shell :: invert 
Shell :: how to create malware for android in kali 
Shell :: get UUID of raid array linux 
Shell :: sed excape all special charators 
Shell :: terrminal generate uudi 
Shell :: ssh how to start a script out of the session 
Shell :: ubuntu shared hosting set default cron editor 
Shell :: Powershell mount disk image and retrieve drive-letter 
Shell :: Reduce the hibernate file Windows 10 
Shell :: detach other user from monitor linux command 
Shell :: error: no se puede abrir .git/FETCH_HEAD: Permiso denegado 
Shell :: force shudown app from terminal 
Shell :: pre-recivice hook deline push gitlab 
Shell :: asterisk agi script no such file or directory 
Shell :: chemin absolu tcpdf sur serveur 
Shell :: val if $FOO is set (and not null) 
Shell :: privileged on running container 
Shell :: how to configure adminer ubuntu 
Shell :: sublime select all matches 
Shell :: git stash pop specific 
Shell :: fslmaths threshold 
Shell :: generate rs256 key pair 
Shell :: cholocatey install 
Shell :: for in shell script 
Shell :: git copy branch to another 
Shell :: sed match newline 
Shell :: powershell execute command only if previous successful 
Shell :: appcenter install mac 
Shell :: fordesktop como remover o messenger linux 
Shell :: github shows two icons on commit 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =