X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fpolicy%2Ftemplates%2Fpolicy-kafka-user.yaml;h=ed399ed9c75b464917e3a8d03101fc987525d5ac;hb=refs%2Fheads%2Fmaster;hp=1bc7ab1d3ab4d454edebe09776ce1c063395c586;hpb=73c5f00c93faa9238e8721fa4345c35ae256ccb1;p=oom.git diff --git a/kubernetes/policy/templates/policy-kafka-user.yaml b/kubernetes/policy/templates/policy-kafka-user.yaml index 1bc7ab1d3a..ed399ed9c7 100644 --- a/kubernetes/policy/templates/policy-kafka-user.yaml +++ b/kubernetes/policy/templates/policy-kafka-user.yaml @@ -1,5 +1,5 @@ {{/* -# Copyright © 2022 Nordix Foundation +# Copyright © 2022-2023 Nordix Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. */}} -{{- if .Values.config.useStrimziKafka }} + apiVersion: kafka.strimzi.io/v1beta2 kind: KafkaUser metadata: @@ -28,14 +28,17 @@ spec: acls: - resource: type: group - name: {{ .Values.config.acRuntimeTopic.consumer.groupId }} - operation: Read + name: {{ .Values.config.policyPdpPapTopic.consumer.groupId }} + operation: All - resource: type: topic - name: {{ .Values.config.acRuntimeTopic.name }} - operation: Read + name: {{ .Values.config.policyPdpPapTopic.name }} + operation: All - resource: type: topic - name: {{ .Values.config.acRuntimeTopic.name }} - operation: Write -{{- end }} + name: {{ .Values.config.policyHeartbeatTopic.name }} + operation: All + - resource: + type: topic + name: {{ .Values.config.policyNotificationTopic.name }} + operation: All