File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed
Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 9292 - name : autosave
9393 mountPath : {{ . }}
9494 readOnly : false
95+ {{- else }}
96+ {{- with .Values.autosaveRootPath }}
97+ - name : autosave
98+ mountPath : {{ . }}/{{ $ioc_name }}
99+ readOnly : false
100+ {{- end }}
95101 {{- end }}
96102 {{- with .Values.volumes }}
97103 volumes :
@@ -101,6 +107,12 @@ spec:
101107 - name : autosave
102108 hostPath :
103109 path : {{ . }}
110+ {{- else }}
111+ {{- with .Values.autosaveRootPath }}
112+ - name : autosave
113+ hostPath :
114+ path : {{ . }}/{{ $ioc_name }}
115+ {{- end }}
104116 {{- end }}
105117 {{- with .Values.nodeSelector }}
106118 nodeSelector :
Original file line number Diff line number Diff line change 99 "type" : " object"
1010 },
1111 "autosavePath" : {
12- "description" : " Full path to an IOC instance's autosave folder" ,
12+ "description" : " Full path to an IOC instance's autosave folder. Overrides autosaveRootPath when not blank" ,
13+ "type" : " string"
14+ },
15+ "autosaveRootPath" : {
1316 "type" : " string"
1417 },
1518 "command" : {
Original file line number Diff line number Diff line change @@ -62,7 +62,10 @@ securityContext: {}
6262# @schema $ref: $k8s/container.json#/properties/resources
6363resources : {}
6464
65- # @schema description: Full path to an IOC instance's autosave folder
65+ # @cschema description: Path to the folder above the IOC's autosave folder. Used to generate the autosavePath as autosaveRootPath/iocName
66+ autosaveRootPath : " "
67+
68+ # @schema description: Full path to an IOC instance's autosave folder. Overrides autosaveRootPath when not blank
6669autosavePath : " "
6770
6871# volumes for the Deployment.
You can’t perform that action at this time.
0 commit comments