We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cd9c847 + 4b09cd3 commit 985431cCopy full SHA for 985431c
1 file changed
charts/registry/templates/registry-deployment.yaml
@@ -22,6 +22,9 @@ spec:
22
labels:
23
app: drycc-registry
24
spec:
25
+ {{- if .Values.global.common }}
26
+ {{- include "common.affinity" (dict "key" "app" "values" (list "drycc-registry")) | indent 6 }}
27
+ {{- end }}
28
serviceAccount: drycc-registry
29
initContainers:
30
- name: drycc-registry-init
@@ -70,9 +73,9 @@ spec:
70
73
mountPath: /var/lib/registry
71
74
- name: objectstorage-creds
72
75
mountPath: /var/run/secrets/drycc/objectstore/creds
- securityContext:
- fsGroup: 1001
- runAsGroup: 1001
76
+ securityContext:
77
+ fsGroup: 1001
78
+ runAsGroup: 1001
79
runAsUser: 1001
80
volumes:
81
- name: registry-storage
0 commit comments