summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-apex-pdp/templates/statefulset.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-09-22 18:43:31 +0000
committerGerrit Code Review <gerrit@onap.org>2022-09-22 18:43:31 +0000
commit8490b3b3da28d1d0622271fa8208f73278c9c1e9 (patch)
tree0d7e2ad55337cbd557c7e9413f1fd61bcb4b0917 /kubernetes/policy/components/policy-apex-pdp/templates/statefulset.yaml
parent740cb1c679b52e3d4597c1211ff9b0a02bde84d4 (diff)
parentb402a59cd21c5df6e01efdbdc5cb8d21eef40c0e (diff)
Merge "[POLICY] Update strimzi config in policy helm charts"
Diffstat (limited to 'kubernetes/policy/components/policy-apex-pdp/templates/statefulset.yaml')
-rwxr-xr-xkubernetes/policy/components/policy-apex-pdp/templates/statefulset.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/policy/components/policy-apex-pdp/templates/statefulset.yaml b/kubernetes/policy/components/policy-apex-pdp/templates/statefulset.yaml
index 4d9ff9250e..71320dc3eb 100755
--- a/kubernetes/policy/components/policy-apex-pdp/templates/statefulset.yaml
+++ b/kubernetes/policy/components/policy-apex-pdp/templates/statefulset.yaml
@@ -2,6 +2,7 @@
# ============LICENSE_START=======================================================
# Copyright (C) 2018 Ericsson. All rights reserved.
# Modifications Copyright (C) 2020 AT&T Intellectual Property.
+# Modifications Copyright © 2022 Nordix Foundation
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -56,6 +57,10 @@ spec:
{{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "restserver-creds" "key" "login") | indent 10 }}
- name: RESTSERVER_PASSWORD
{{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "restserver-creds" "key" "password") | indent 10 }}
+{{- if .Values.config.useStrimziKafka }}
+ - name: JAASLOGIN
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "policy-kafka-user" "key" "sasl.jaas.config") | indent 10 }}
+{{- end }}
volumeMounts:
- mountPath: /config-input
name: apexconfig-input