aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-api/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-16 17:11:09 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-16 17:11:09 +0000
commit03c22906f8abc4f2fa1a8fd468458b1eb2e857e2 (patch)
tree753edbb79c132b146e43afeaa9f6c9cc1ef1338d /kubernetes/policy/components/policy-api/templates
parent5b27caf49a96fff0c0ae24c18ccd77ee3325c74e (diff)
parent9658ce8bae913d5c3cfba333e0de9cea6f310763 (diff)
Merge "[POLICY] Remove bash shell"
Diffstat (limited to 'kubernetes/policy/components/policy-api/templates')
-rwxr-xr-xkubernetes/policy/components/policy-api/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/policy/components/policy-api/templates/deployment.yaml b/kubernetes/policy/components/policy-api/templates/deployment.yaml
index 72937ae0ef..899e74e674 100755
--- a/kubernetes/policy/components/policy-api/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-api/templates/deployment.yaml
@@ -62,7 +62,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/api/bin/policy-api.sh /opt/app/policy/api/etc/mounted/config.json"]
{{- else }}