diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-05-04 06:55:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-05-04 06:55:59 +0000 |
commit | 006318ac37142eb823db4a2074ce6c8ad1629166 (patch) | |
tree | fc347e335bc7e3176094101f027711c20480f951 /kubernetes/cds/charts/cds-blueprints-processor/templates/deployment.yaml | |
parent | 69a834e510197dd2f1496b4ca0c3b72a0e309568 (diff) | |
parent | b38185a167552adefcdd2a32e517e912e01dd683 (diff) |
Merge "Making mounted volume non-root"
Diffstat (limited to 'kubernetes/cds/charts/cds-blueprints-processor/templates/deployment.yaml')
-rwxr-xr-x | kubernetes/cds/charts/cds-blueprints-processor/templates/deployment.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/cds/charts/cds-blueprints-processor/templates/deployment.yaml b/kubernetes/cds/charts/cds-blueprints-processor/templates/deployment.yaml index ab7245e56a..ac0e9c5f80 100755 --- a/kubernetes/cds/charts/cds-blueprints-processor/templates/deployment.yaml +++ b/kubernetes/cds/charts/cds-blueprints-processor/templates/deployment.yaml @@ -85,6 +85,17 @@ spec: image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}" imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} name: {{ include "common.name" . }}-readiness + - name: fix-permission + command: + - chown + - -R + - 100:101 + - /opt/app/onap/blueprints/deploy + image: busybox:latest + imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} + volumeMounts: + - mountPath: {{ .Values.persistence.deployedBlueprint }} + name: {{ include "common.fullname" . }}-blueprints containers: - name: {{ include "common.name" . }} image: "{{ include "common.repository" . }}/{{ .Values.image }}" |