summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-pap/values.yaml
diff options
context:
space:
mode:
authorFiachra Corcoran <fiachra.corcoran@est.tech>2022-08-03 10:58:21 +0000
committerGerrit Code Review <gerrit@onap.org>2022-08-03 10:58:21 +0000
commit51cb65c4e56a2ba8e6fe2b6516a8cb8e421e2493 (patch)
tree2574d65c48084c0ba9e082f96768ed32f60f4c97 /kubernetes/policy/components/policy-pap/values.yaml
parent06610f746e30ac74b976680bc2967a6c131488cb (diff)
parent73c5f00c93faa9238e8721fa4345c35ae256ccb1 (diff)
Merge "[POLICY] Add strimzi kafka config from helm charts"
Diffstat (limited to 'kubernetes/policy/components/policy-pap/values.yaml')
-rwxr-xr-xkubernetes/policy/components/policy-pap/values.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/kubernetes/policy/components/policy-pap/values.yaml b/kubernetes/policy/components/policy-pap/values.yaml
index 415239a4ac..2c240d2347 100755
--- a/kubernetes/policy/components/policy-pap/values.yaml
+++ b/kubernetes/policy/components/policy-pap/values.yaml
@@ -64,6 +64,13 @@ secrets:
externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}'
password: '{{ .Values.certStores.trustStorePassword }}'
passwordPolicy: required
+ - uid: policy-kafka-user
+ externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
+ type: genericKV
+ envs:
+ - name: sasl.jaas.config
+ value: '{{ .Values.config.someConfig }}'
+ policy: generate
certStores:
keyStorePassword: Pol1cy_0nap
@@ -196,3 +203,26 @@ metrics:
externalSecretNameSuffix: policy-pap-user-creds
externalSecretUserKey: login
externalSecretPasswordKey: password
+
+# application configuration
+config:
+# Event consumption (kafka) properties
+ useStrimziKafka: true
+ kafkaBootstrap: strimzi-kafka-bootstrap
+ kafka:
+ consumer:
+ groupId: poicy-group
+ app:
+ listener:
+ policyPdpPapTopic: policy-pdp-pap
+# If targeting a custom kafka cluster, ie useStrimziKakfa: false
+# uncomment below config and target your kafka bootstrap servers,
+# along with any other security config.
+#
+# eventConsumption:
+# spring.kafka.bootstrap-servers: <kafka-bootstrap>:9092
+# spring.kafka.security.protocol: PLAINTEXT
+# spring.kafka.consumer.group-id: policy-group
+#
+# Any new property can be added in the env by setting in overrides in the format mentioned below
+# All the added properties must be in "key: value" format instead of yaml.