diff --git a/catalog/kubedb/active_versions.json b/catalog/kubedb/active_versions.json index 458584aee..be199e7a5 100644 --- a/catalog/kubedb/active_versions.json +++ b/catalog/kubedb/active_versions.json @@ -51,6 +51,8 @@ "1.18.0" ], "Kafka": [ + "3.9.0", + "3.8.1", "3.6.1", "3.6.0", "3.5.2", diff --git a/catalog/kubedb/raw/kafka/kafka-3.8.1.yaml b/catalog/kubedb/raw/kafka/kafka-3.8.1.yaml new file mode 100644 index 000000000..93ca6a1e3 --- /dev/null +++ b/catalog/kubedb/raw/kafka/kafka-3.8.1.yaml @@ -0,0 +1,24 @@ +apiVersion: catalog.kubedb.com/v1alpha1 +kind: KafkaVersion +metadata: + name: 3.8.1 +spec: + connectCluster: + image: ghcr.io/appscode-images/kafka-connect-cluster:3.8.1 + cruiseControl: + image: ghcr.io/appscode-images/kafka-cruise-control:3.8.1 + db: + image: ghcr.io/appscode-images/kafka-kraft:3.8.1 + podSecurityPolicies: + databasePolicyName: kafka-db + securityContext: + runAsUser: 1001 + ui: + - name: kafka-ui + version: v2024.4.27 + updateConstraints: + allowlist: + - '> 3.8.1, <= 3.8.1' + denylist: + - < 3.8.1 + version: 3.8.1 diff --git a/catalog/kubedb/raw/kafka/kafka-3.9.0.yaml b/catalog/kubedb/raw/kafka/kafka-3.9.0.yaml new file mode 100644 index 000000000..b2dad15d5 --- /dev/null +++ b/catalog/kubedb/raw/kafka/kafka-3.9.0.yaml @@ -0,0 +1,24 @@ +apiVersion: catalog.kubedb.com/v1alpha1 +kind: KafkaVersion +metadata: + name: 3.9.0 +spec: + connectCluster: + image: ghcr.io/appscode-images/kafka-connect-cluster:3.9.0 + cruiseControl: + image: ghcr.io/appscode-images/kafka-cruise-control:3.9.0 + db: + image: ghcr.io/appscode-images/kafka-kraft:3.9.0 + podSecurityPolicies: + databasePolicyName: kafka-db + securityContext: + runAsUser: 1001 + ui: + - name: kafka-ui + version: v2024.4.27 + updateConstraints: + allowlist: + - '> 3.9.0, <= 3.9.0' + denylist: + - < 3.9.0 + version: 3.9.0 diff --git a/charts/kubedb-catalog/templates/kafka/kafka-3.8.1.yaml b/charts/kubedb-catalog/templates/kafka/kafka-3.8.1.yaml new file mode 100644 index 000000000..2edd658a6 --- /dev/null +++ b/charts/kubedb-catalog/templates/kafka/kafka-3.8.1.yaml @@ -0,0 +1,34 @@ +{{ $featureGates := .Values.featureGates }} +{{- if .Values.global }} + {{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }} +{{- end }} + +{{ if $featureGates.Kafka }} + +apiVersion: catalog.kubedb.com/v1alpha1 +kind: KafkaVersion +metadata: + name: '3.8.1' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + connectCluster: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connect-cluster") $) }}:3.8.1' + cruiseControl: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-cruise-control") $) }}:3.8.1' + db: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-kraft") $) }}:3.8.1' + podSecurityPolicies: + databasePolicyName: kafka-db + securityContext: + runAsUser: 1001 + ui: + - name: kafka-ui + version: v2024.4.27 + updateConstraints: + allowlist: + - '> 3.8.1, <= 3.8.1' + denylist: + - < 3.8.1 + version: 3.8.1 +{{ end }} diff --git a/charts/kubedb-catalog/templates/kafka/kafka-3.9.0.yaml b/charts/kubedb-catalog/templates/kafka/kafka-3.9.0.yaml new file mode 100644 index 000000000..cf26f81df --- /dev/null +++ b/charts/kubedb-catalog/templates/kafka/kafka-3.9.0.yaml @@ -0,0 +1,34 @@ +{{ $featureGates := .Values.featureGates }} +{{- if .Values.global }} + {{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }} +{{- end }} + +{{ if $featureGates.Kafka }} + +apiVersion: catalog.kubedb.com/v1alpha1 +kind: KafkaVersion +metadata: + name: '3.9.0' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + connectCluster: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connect-cluster") $) }}:3.9.0' + cruiseControl: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-cruise-control") $) }}:3.9.0' + db: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-kraft") $) }}:3.9.0' + podSecurityPolicies: + databasePolicyName: kafka-db + securityContext: + runAsUser: 1001 + ui: + - name: kafka-ui + version: v2024.4.27 + updateConstraints: + allowlist: + - '> 3.9.0, <= 3.9.0' + denylist: + - < 3.9.0 + version: 3.9.0 +{{ end }}