summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-distribution
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2020-12-10 14:34:18 -0500
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-16 16:59:34 +0000
commit9658ce8bae913d5c3cfba333e0de9cea6f310763 (patch)
tree73c7a180f0217f642adc1bc9fc6588863ab57df3 /kubernetes/policy/components/policy-distribution
parent8aa1d0d4532d4b6005bdf993c4eee48ebfc60012 (diff)
[POLICY] Remove bash shell
removal any GPL-3.0 and plus license for detail, please see the below Issue-ID Issue-ID: POLICY-2847 Change-Id: I491c0762c9dc494092cbc4c66fed4a2c7d0a9ab2 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'kubernetes/policy/components/policy-distribution')
-rwxr-xr-xkubernetes/policy/components/policy-distribution/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/policy/components/policy-distribution/templates/deployment.yaml b/kubernetes/policy/components/policy-distribution/templates/deployment.yaml
index 0f185fc735..04db6d70c7 100755
--- a/kubernetes/policy/components/policy-distribution/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-distribution/templates/deployment.yaml
@@ -76,7 +76,7 @@ spec:
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
{{- if .Values.global.aafEnabled }}
- command: ["bash","-c"]
+ command: ["sh","-c"]
args: ["source {{ .Values.certInitializer.credsPath }}/.ci;\
/opt/app/policy/distribution/bin/policy-dist.sh /opt/app/policy/distribution/etc/mounted/config.json"]
{{- else }}