X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F15-Chartmuseum%2Fhelm%2Fchartmuseum%2Ftemplates%2Fdeployment.yaml;h=f3bf341953ea8e476a989144ee9019bfdb6b60ac;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=c283c19d93bd97072e9f2cbe6d8c104b15d1a262;hpb=bb6097c9e2fa2918028892b2c5e675841029bee9;p=it%2Fdep.git diff --git a/ric-infra/15-Chartmuseum/helm/chartmuseum/templates/deployment.yaml b/ric-infra/15-Chartmuseum/helm/chartmuseum/templates/deployment.yaml index c283c19d..f3bf3419 100644 --- a/ric-infra/15-Chartmuseum/helm/chartmuseum/templates/deployment.yaml +++ b/ric-infra/15-Chartmuseum/helm/chartmuseum/templates/deployment.yaml @@ -15,7 +15,7 @@ # limitations under the License. # ################################################################################ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "common.deploymentname.chartmuseum" .}} @@ -36,6 +36,9 @@ spec: app: {{ include "common.namespace.infra" . }}-{{ include "common.name.chartmuseum" . }} release: {{ .Release.Name }} spec: + securityContext: + fsGroup: 0 + runAsUser: 0 hostname: {{ .Chart.Name }} imagePullSecrets: - name: {{ include "common.repositoryCred" . }}