summaryrefslogtreecommitdiffstats
path: root/kubernetes/a1policymanagement/templates/statefulset.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/a1policymanagement/templates/statefulset.yaml')
-rw-r--r--kubernetes/a1policymanagement/templates/statefulset.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/a1policymanagement/templates/statefulset.yaml b/kubernetes/a1policymanagement/templates/statefulset.yaml
index 0114b30158..89d131e26c 100644
--- a/kubernetes/a1policymanagement/templates/statefulset.yaml
+++ b/kubernetes/a1policymanagement/templates/statefulset.yaml
@@ -39,8 +39,10 @@ spec:
args:
- -c
- |
+ {{- if (include "common.needTLS" .) }}
export $(cat {{ .Values.certInitializer.credsPath }}/mycreds.prop\
| xargs -0)
+ {{- end }}
cd /config-input
for PFILE in `ls -1`
do