X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Fappmgr%2Ftemplates%2Fdeployment.yaml;h=9fb698ec528735a2e1790a2dfafa7b770086acc0;hb=2a405b567ac69e725fff4a766778f398206eba35;hp=1b1921100a6204a82d52a0f69d10d1a698a6f10e;hpb=9cebd18a18bc3075d73f4d250d19be66863f4129;p=ric-plt%2Fric-dep.git diff --git a/helm/appmgr/templates/deployment.yaml b/helm/appmgr/templates/deployment.yaml index 1b19211..9fb698e 100644 --- a/helm/appmgr/templates/deployment.yaml +++ b/helm/appmgr/templates/deployment.yaml @@ -86,21 +86,6 @@ spec: subPath: appmgr-tiller-secret-copier.sh {{- end }} containers: - - name: {{ include "common.containername.appmgr.chartmuseum" . }} - {{- $newctx := dict "ctx" $topCtx "defaultregistry" .Values.appmgr.image.chartmuseum.registry }} - 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 - ports: - - name: chartmuseum - containerPort: {{ include "common.serviceport.appmgr.chartmuseum.http" . }} - protocol: TCP - name: {{ include "common.containername.appmgr" . }} {{- $newctx := dict "ctx" $topCtx "defaultregistry" .Values.appmgr.image.appmgr.registry }} image: {{ include "common.dockerregistry.url" $newctx }}/{{ .Values.appmgr.image.appmgr.name }}:{{ .Values.appmgr.image.appmgr.tag }} @@ -132,6 +117,8 @@ spec: envFrom: - configMapRef: name: {{ include "common.configmapname.appmgr" . }}-env + - configMapRef: + name: {{ include "common.configmapname.dbaas" . }}-appconfig livenessProbe: #exec: # command: @@ -144,11 +131,11 @@ spec: # httpGet: # path: / # port: http - restartPolicy: Always securityContext: # ubuntu #runAsUser: 1000 #allowPrivilegeEscalation: false + restartPolicy: Always volumes: - name: config-volume configMap: