diff --git a/charts/confluent/Chart.yaml b/charts/confluent/Chart.yaml index b6346bc..abd3ad6 100644 --- a/charts/confluent/Chart.yaml +++ b/charts/confluent/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: lsdmesp-confluent -version: "0.6.2" -appVersion: "0.6.2" +version: "0.6.3" +appVersion: "0.6.3" description: 'LSDMESP CFK: LSD Event Streaming Platform with Confluent Operator' keywords: - lsdmesp diff --git a/charts/confluent/templates/010.kraftcontroller.yaml b/charts/confluent/templates/010.kraftcontroller.yaml index 1feeb88..c4d3b91 100644 --- a/charts/confluent/templates/010.kraftcontroller.yaml +++ b/charts/confluent/templates/010.kraftcontroller.yaml @@ -13,6 +13,10 @@ spec: image: application: docker.io/confluentinc/cp-server:{{ .Values.lsdmesp.cpVersion }} init: confluentinc/confluent-init-container:{{ .Values.lsdmesp.cpOperatorVersion }} + {{- if not ((index .Values "confluent-for-kubernetes" "licenseKey") | empty) }} + license: + globalLicense: true + {{- end }} listeners: controller: tls: diff --git a/charts/confluent/templates/011.kafka.yaml b/charts/confluent/templates/011.kafka.yaml index 59afcc7..e0ec441 100644 --- a/charts/confluent/templates/011.kafka.yaml +++ b/charts/confluent/templates/011.kafka.yaml @@ -55,6 +55,10 @@ spec: image: application: confluentinc/cp-server:{{ .Values.lsdmesp.cpVersion }} init: confluentinc/confluent-init-container:{{ .Values.lsdmesp.cpOperatorVersion }} + {{- if not ((index .Values "confluent-for-kubernetes" "licenseKey") | empty) }} + license: + globalLicense: true + {{- end }} listeners: internal: authentication: diff --git a/charts/confluent/templates/020.schemaregistry.yaml b/charts/confluent/templates/020.schemaregistry.yaml index 044530b..ff4e679 100644 --- a/charts/confluent/templates/020.schemaregistry.yaml +++ b/charts/confluent/templates/020.schemaregistry.yaml @@ -35,6 +35,10 @@ spec: application: confluentinc/cp-schema-registry:{{ .Values.lsdmesp.cpVersion }} init: confluentinc/confluent-init-container:{{ .Values.lsdmesp.cpOperatorVersion }} internalTopicReplicatorFactor: {{ .Values.lsdmesp.defaultReplicationFactor }} + {{- if not ((index .Values "confluent-for-kubernetes" "licenseKey") | empty) }} + license: + globalLicense: true + {{- end }} {{- if $schemaregistry.externalAccess }} listeners: external: diff --git a/charts/confluent/templates/030.connect.yaml b/charts/confluent/templates/030.connect.yaml index 201b1ce..31fac41 100644 --- a/charts/confluent/templates/030.connect.yaml +++ b/charts/confluent/templates/030.connect.yaml @@ -73,6 +73,10 @@ spec: application: confluentinc/cp-server-connect:{{ .Values.lsdmesp.cpVersion }} init: confluentinc/confluent-init-container:{{ .Values.lsdmesp.cpOperatorVersion }} internalTopicReplicationFactor: {{ .Values.lsdmesp.defaultReplicationFactor }} + {{- if not ((index .Values "confluent-for-kubernetes" "licenseKey") | empty) }} + license: + globalLicense: true + {{- end }} metrics: prometheus: blacklist: diff --git a/charts/confluent/templates/031.ksqldb.yaml b/charts/confluent/templates/031.ksqldb.yaml index 066faea..09945c2 100644 --- a/charts/confluent/templates/031.ksqldb.yaml +++ b/charts/confluent/templates/031.ksqldb.yaml @@ -45,6 +45,10 @@ spec: application: confluentinc/cp-ksqldb-server:{{ .Values.lsdmesp.cpVersion }} init: confluentinc/confluent-init-container:{{ .Values.lsdmesp.cpOperatorVersion }} internalTopicReplicationFactor: {{ .Values.lsdmesp.defaultReplicationFactor }} + {{- if not ((index .Values "confluent-for-kubernetes" "licenseKey") | empty) }} + license: + globalLicense: true + {{- end }} {{- if $ksqldb.externalAccess }} listeners: external: diff --git a/charts/confluent/templates/040.kafkarestproxy.yaml b/charts/confluent/templates/040.kafkarestproxy.yaml index 54a3f26..2c4b2f4 100644 --- a/charts/confluent/templates/040.kafkarestproxy.yaml +++ b/charts/confluent/templates/040.kafkarestproxy.yaml @@ -38,6 +38,10 @@ spec: image: application: confluentinc/cp-kafka-rest:{{ .Values.lsdmesp.cpVersion }} init: confluentinc/confluent-init-container:{{ .Values.lsdmesp.cpOperatorVersion }} + {{- if not ((index .Values "confluent-for-kubernetes" "licenseKey") | empty) }} + license: + globalLicense: true + {{- end }} oneReplicaPerNode: true metrics: prometheus: diff --git a/charts/confluent/templates/050.controlcenter.yaml b/charts/confluent/templates/050.controlcenter.yaml index f15302c..0056243 100644 --- a/charts/confluent/templates/050.controlcenter.yaml +++ b/charts/confluent/templates/050.controlcenter.yaml @@ -57,6 +57,10 @@ spec: application: confluentinc/cp-enterprise-control-center:{{ .Values.lsdmesp.cpVersion }} init: confluentinc/confluent-init-container:{{ .Values.lsdmesp.cpOperatorVersion }} internalTopicReplicatorFactor: {{ .Values.lsdmesp.defaultReplicationFactor }} + {{- if not ((index .Values "confluent-for-kubernetes" "licenseKey") | empty) }} + license: + globalLicense: true + {{- end }} podTemplate: podSecurityContext: fsGroup: 1000