File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ spec:
110110 {{- end }}
111111 {{- with $.Values.opisMountPoint }}
112112 - name : opis-volume
113- mountPath : .
113+ mountPath : {{ . }}
114114 subPath : {{ $.Release.Name }}
115115 {{- end }}
116116 - name : config-volume
@@ -171,9 +171,9 @@ spec:
171171 {{- with .Values.volumeMounts }}
172172 {{- toYaml . | nindent 12 }}
173173 {{- end }}
174- {{- if $.Values.mountEpicsOpis | default true }}
174+ {{- with $.Values.opisMountPoint }}
175175 - name : opis-volume
176- mountPath : /epics/opi
176+ mountPath : {{ . }}
177177 subPath : {{ $.Release.Name }}
178178 {{- end }}
179179 - name : config-volume
@@ -190,7 +190,10 @@ spec:
190190 {{- with .Values.volumes }}
191191 {{- toYaml . | nindent 8 }}
192192 {{- end }}
193- {{- if $.Values.mountEpicsOpis | default true }}
193+ # if a mount point has been specified, claim a PVC to mount
194+ # the PVC name will be ixx-epics-opis for IOCs (created in $opisClaim above)
195+ # the PVC name must be specified in values.yaml for non-IOC services
196+ {{- if .Values.opisMountPoint | default false }}
194197 - name : opis-volume
195198 persistentVolumeClaim :
196199 # use the supplied claim name or default to one based on ioc_group
Original file line number Diff line number Diff line change 155155 },
156156 "opisClaim" : {
157157 "description" : " name of the PVC to use to store opi files, leave blank for IOCs - will then default to ixx-epics-opis" ,
158- "type" : " null "
158+ "type" : " string "
159159 },
160160 "opisMountPoint" : {
161161 "description" : " where to mount the opis volume inside the container" ,
Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ autostart: true
7171configFolder : /config
7272
7373# @schema description: name of the PVC to use to store opi files, leave blank for IOCs - will then default to ixx-epics-opis
74- opisClaim :
74+ opisClaim : " "
7575
7676# @schema description: where to mount the opis volume inside the container
77- opisMountPoint : /epics/opi
77+ opisMountPoint : " "
7878
7979# @schema description: set to true of IOCs in services repos
8080is_ioc : false
You can’t perform that action at this time.
0 commit comments