volumes permissions
This commit is contained in:
parent
399abaf4f9
commit
e3d48562bb
@ -24,15 +24,15 @@ spec:
|
|||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: molgenis-nexus-data
|
claimName: molgenis-nexus-data
|
||||||
restartPolicy: {{ .Values.nexus.restartPolicy }}
|
restartPolicy: {{ .Values.nexus.restartPolicy }}
|
||||||
|
initContainers:
|
||||||
|
- name: volume-mount-nexus
|
||||||
|
image: busybox
|
||||||
|
command: ["sh", "-c", "chown -R 200:200 /gcc/molgenis/nexus"]
|
||||||
|
volumeMounts:
|
||||||
|
- name: molgenis-nexus-data
|
||||||
|
mountPath: "/nexus-data"
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.nexus.name }}
|
- name: {{ .Values.nexus.name }}
|
||||||
initContainers:
|
|
||||||
- name: volume-mount-nexus
|
|
||||||
image: busybox
|
|
||||||
command: ["sh", "-c", "chown -R 200:200 /gcc/molgenis/nexus"]
|
|
||||||
volumeMounts:
|
|
||||||
- name: molgenis-nexus-data
|
|
||||||
mountPath: "/nexus-data"
|
|
||||||
image: "{{ .Values.nexus.image.repository }}:{{ .Values.nexus.image.tag }}"
|
image: "{{ .Values.nexus.image.repository }}:{{ .Values.nexus.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.nexus.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.nexus.image.pullPolicy }}
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
Reference in New Issue
Block a user