File tree Expand file tree Collapse file tree 4 files changed +57
-0
lines changed
Expand file tree Collapse file tree 4 files changed +57
-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+ "$ref" : " https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.3/container.json#/properties/env" ,
124+ "type" : " array" ,
125+ "items" : {
126+ "type" : " object" ,
127+ "properties" : {
128+ "name" : {
129+ "type" : " string"
130+ },
131+ "value" : {
132+ "type" : " string"
133+ }
134+ }
135+ }
136+ },
106137 "livenessProbe" : {
107138 "$ref" : " https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.3/container.json#/properties/livenessProbe" ,
108139 "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+ # @schema $ref:$k8s/container.json#/properties/env
20+ iocEnv : []
21+
1522# @schema description: container image URI
1623image :
1724 repository : " "
You can’t perform that action at this time.
0 commit comments