1
0
Fork 0

mount the other work- directory

This commit is contained in:
sido 2018-06-27 16:13:58 +02:00
parent 98c030e937
commit eaf9219f76
2 changed files with 7 additions and 5 deletions

View File

@ -19,9 +19,9 @@ spec:
app: {{ .Values.nexus.name }} app: {{ .Values.nexus.name }}
creationTimestamp: null creationTimestamp: null
spec: spec:
securityContext: # securityContext:
runAsUser: 200 # runAsUser: 200
fsGroup: 200 # fsGroup: 200
volumes: volumes:
- name: molgenis-nexus-data - name: molgenis-nexus-data
persistentVolumeClaim: persistentVolumeClaim:
@ -37,6 +37,6 @@ spec:
volumeMounts: volumeMounts:
- name: molgenis-nexus-data - name: molgenis-nexus-data
mountPath: "/nexus-data" mountPath: "/nexus-data"
securityContext: # securityContext:
allowPrivilegeEscalation: false # allowPrivilegeEscalation: false

View File

@ -2,6 +2,8 @@ apiVersion: v1
kind: PersistentVolume kind: PersistentVolume
metadata: metadata:
name: molgenis-nexus-data name: molgenis-nexus-data
annotations:
pv.beta.kubernetes.io/gid: "200"
labels: labels:
name: nfs2 name: nfs2
spec: spec: