diff options
author | 2023-02-27 08:30:18 +0000 | |
---|---|---|
committer | 2023-02-27 08:30:18 +0000 | |
commit | a7eeecb520f5046e490fa3f4cd6bfc52265f9799 (patch) | |
tree | abb48c8f3747b7fb51470dd7c5d1cafbc96c09aa /kubernetes/cps/templates | |
parent | f212f12bedbde5141aba654d57ea34d2e0c3547f (diff) | |
parent | 9f2a0a07f134c9f5346ae241bb24748068e4f6bd (diff) |
Merge "[CPS] Change cps-core/temporal to use strimzi templates"
Diffstat (limited to 'kubernetes/cps/templates')
-rw-r--r-- | kubernetes/cps/templates/cps-kafka-topic.yaml | 14 | ||||
-rw-r--r-- | kubernetes/cps/templates/cps-kafka-user.yaml | 14 |
2 files changed, 2 insertions, 26 deletions
diff --git a/kubernetes/cps/templates/cps-kafka-topic.yaml b/kubernetes/cps/templates/cps-kafka-topic.yaml index 33613bc39f..c3592bcec5 100644 --- a/kubernetes/cps/templates/cps-kafka-topic.yaml +++ b/kubernetes/cps/templates/cps-kafka-topic.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. @@ -17,18 +17,6 @@ apiVersion: kafka.strimzi.io/v1beta2 kind: KafkaTopic metadata: - name: {{ .Values.config.dataUpdatedTopic.name }} - labels: - strimzi.io/cluster: {{ include "common.release" . }}-strimzi -spec: - partitions: {{ .Values.config.dataUpdatedTopic.partitions }} - config: - retention.ms: {{ .Values.config.dataUpdatedTopic.retentionMs }} - segment.bytes: {{ .Values.config.dataUpdatedTopic.segmentBytes }} ---- -apiVersion: kafka.strimzi.io/v1beta2 -kind: KafkaTopic -metadata: name: {{ .Values.config.ncmpEventsTopic.name }} labels: strimzi.io/cluster: {{ include "common.release" . }}-strimzi diff --git a/kubernetes/cps/templates/cps-kafka-user.yaml b/kubernetes/cps/templates/cps-kafka-user.yaml index 229e5dc2d5..469dddae86 100644 --- a/kubernetes/cps/templates/cps-kafka-user.yaml +++ b/kubernetes/cps/templates/cps-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. @@ -28,18 +28,6 @@ spec: acls: - resource: type: group - name: {{ .Values.config.dataUpdatedTopic.consumer.groupId }} - operation: Read - - resource: - type: topic - name: {{ .Values.config.dataUpdatedTopic.name }} - operation: Read - - resource: - type: topic - name: {{ .Values.config.dataUpdatedTopic.name }} - operation: Write - - resource: - type: group name: {{ .Values.config.ncmpEventsTopic.consumer.groupId }} operation: All - resource: |