File tree Expand file tree Collapse file tree 4 files changed +55
-0
lines changed
Expand file tree Collapse file tree 4 files changed +55
-0
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,11 @@ extraContainers:
1313 - command
1414 - arg1
1515 - arg2
16+
17+ globalEnv :
18+ - name : example
19+ value : example
20+
21+ iocEnv :
22+ - name : example
23+ value : example
Original file line number Diff line number Diff line change 7878 - name : {{ .name }}
7979 image : {{ .image }}
8080 imagePullPolicy : {{ $.Values.image.pullPolicy }}
81+ env :
82+ - name : IPYTHONDIR
83+ value : /tmp/.ipython
84+ - name : TERM
85+ value : xterm-256color
86+ {{- with $.Values.globalEnv }}
87+ {{- toYaml . | nindent 12}}
88+ {{- end }}
89+ {{- with $.Values.iocEnv }}
90+ {{- toYaml . | nindent 12}}
91+ {{- end }}
8192 {{- with $.Values.securityContext }}
8293 securityContext :
8394 {{- toYaml . | nindent 12 }}
Original file line number Diff line number Diff line change 7373 "type" : " object" ,
7474 "additionalProperties" : true
7575 },
76+ "globalEnv" : {
77+ "description" : " Add environment to all IOCs" ,
78+ "type" : " array" ,
79+ "items" : {
80+ "type" : " object" ,
81+ "properties" : {
82+ "name" : {
83+ "type" : " string"
84+ },
85+ "value" : {
86+ "type" : " string"
87+ }
88+ }
89+ }
90+ },
7691 "hostNetwork" : {
7792 "description" : " enable host networking for the pod" ,
7893 "type" : " boolean"
103118 "description" : " path to the location of config folder (defaults to be the same as C++ IOCs)" ,
104119 "type" : " string"
105120 },
121+ "iocEnv" : {
122+ "description" : " Add environment to individual IOCs" ,
123+ "type" : " array" ,
124+ "items" : {
125+ "type" : " object" ,
126+ "properties" : {
127+ "name" : {
128+ "type" : " string"
129+ },
130+ "value" : {
131+ "type" : " string"
132+ }
133+ }
134+ }
135+ },
106136 "livenessProbe" : {
107137 "$ref" : " https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.3/container.json#/properties/livenessProbe" ,
108138 "type" : " object"
Original file line number Diff line number Diff line change 1212# @schema additionalProperties: true
1313global : {}
1414
15+ # @schema description: Add environment to all IOCs
16+ globalEnv : []
17+
18+ # @schema description: Add environment to individual IOCs
19+ iocEnv : []
20+
1521# @schema description: container image URI
1622image :
1723 repository : " "
You can’t perform that action at this time.
0 commit comments