summaryrefslogtreecommitdiffstats
path: root/kubernetes/a1policymanagement/templates
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-09-22 15:35:46 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2022-10-21 07:30:49 +0000
commitebc3a0be1e7b2fd2293fb48a7d805eb15a1cf511 (patch)
tree3beb152b26f81757419b2613bf27fcf683b5dae2 /kubernetes/a1policymanagement/templates
parentfa32b08201cc407e22e7b75f3ea16be8d929c4f1 (diff)
[A1POLICYMANAGEMENT] Make A1P ServiceMesh compatible
Update the application config to run in Istio SM by using HTTP instead of HTTPS and disable AAF dependency Issue-ID: OOM-3008 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I3882912d98b05861114848902f35d254fa49c9d8
Diffstat (limited to 'kubernetes/a1policymanagement/templates')
-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