Fix the chartmuseum cannot create dir problem, include release repo credential in...
[ric-plt/ric-dep.git] / helm / appmgr / templates / deployment.yaml
index c3383aa..1b19211 100644 (file)
@@ -91,6 +91,9 @@ spec:
           image: {{ include "common.dockerregistry.url" $newctx }}/{{ .Values.appmgr.image.chartmuseum.name }}:{{ .Values.appmgr.image.chartmuseum.tag }}
           {{- $newctx := dict "ctx" $topCtx "defaultpullpolicy" .Values.appmgr.imagePullPolicy }}
           imagePullPolicy: {{ include "common.dockerregistry.pullpolicy" $newctx }}
+          securityContext:
+            fsGroup: 0
+            runAsUser: 0
           envFrom:
             - configMapRef:
                 name: {{ include "common.configmapname.appmgr" . }}-chartmuseum-env