aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/policy-kafka-topics.yaml
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2023-03-03 14:53:16 +0000
committerFiachra Corcoran <fiachra.corcoran@est.tech>2023-03-10 12:25:42 +0000
commit6910bbe1e3f2e44e5e100b8fec34a6da8b8eb231 (patch)
treed0146b7ed4d448cec81f8356ba9c83110977dda2 /kubernetes/policy/templates/policy-kafka-topics.yaml
parent9ff7ee73b1f5dd0adb1ae9d3b5ae6b324e12dad5 (diff)
[POLICY-PPNT] Move policy-clamp-ppnt use case to use strimzi kafka
Move acm to use strimzi common templates Enabled kafka by default for acm ppnts Update relevant config params Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ia23970e59f4ddaa83a07d224293b0155e28d0ab2 Issue-ID: DMAAP-1857
Diffstat (limited to 'kubernetes/policy/templates/policy-kafka-topics.yaml')
-rw-r--r--kubernetes/policy/templates/policy-kafka-topics.yaml14
1 files changed, 1 insertions, 13 deletions
diff --git a/kubernetes/policy/templates/policy-kafka-topics.yaml b/kubernetes/policy/templates/policy-kafka-topics.yaml
index 1894d62a42..d9d9769230 100644
--- a/kubernetes/policy/templates/policy-kafka-topics.yaml
+++ b/kubernetes/policy/templates/policy-kafka-topics.yaml
@@ -13,19 +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: KafkaTopic
-metadata:
- name: {{ .Values.config.acRuntimeTopic.name }}
- labels:
- strimzi.io/cluster: {{ include "common.release" . }}-strimzi
-spec:
- partitions: {{ .Values.config.acRuntimeTopic.partitions }}
- config:
- retention.ms: {{ .Values.config.acRuntimeTopic.retentionMs }}
- segment.bytes: {{ .Values.config.acRuntimeTopic.segmentBytes }}
----
+{{- if .Values.global.useStrimziKafka }}
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaTopic
metadata: