From 53f876bb1c50a078e8f52e711db153e8f4b91480 Mon Sep 17 00:00:00 2001 From: Tapajit Chandra Paul Date: Thu, 31 Oct 2024 15:38:21 +0600 Subject: [PATCH] Add druid version 30.0.1 Signed-off-by: Tapajit Chandra Paul --- catalog/kubedb/active_versions.json | 1 + catalog/kubedb/raw/druid/druid-30.0.1.yaml | 12 ++++++++++ .../templates/druid/druid-30.0.1.yaml | 22 +++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 catalog/kubedb/raw/druid/druid-30.0.1.yaml create mode 100644 charts/kubedb-catalog/templates/druid/druid-30.0.1.yaml diff --git a/catalog/kubedb/active_versions.json b/catalog/kubedb/active_versions.json index 0889eb836..e852dfa64 100644 --- a/catalog/kubedb/active_versions.json +++ b/catalog/kubedb/active_versions.json @@ -7,6 +7,7 @@ "24.4.1" ], "Druid": [ + "30.0.1", "30.0.0", "28.0.1", "25.0.0" diff --git a/catalog/kubedb/raw/druid/druid-30.0.1.yaml b/catalog/kubedb/raw/druid/druid-30.0.1.yaml new file mode 100644 index 000000000..6b1ef1521 --- /dev/null +++ b/catalog/kubedb/raw/druid/druid-30.0.1.yaml @@ -0,0 +1,12 @@ +apiVersion: catalog.kubedb.com/v1alpha1 +kind: DruidVersion +metadata: + name: 30.0.1 +spec: + db: + image: ghcr.io/appscode-images/druid:30.0.1 + initContainer: + image: ghcr.io/kubedb/druid-init:30.0.1 + securityContext: + runAsUser: 1000 + version: 30.0.1 diff --git a/charts/kubedb-catalog/templates/druid/druid-30.0.1.yaml b/charts/kubedb-catalog/templates/druid/druid-30.0.1.yaml new file mode 100644 index 000000000..ff6402e91 --- /dev/null +++ b/charts/kubedb-catalog/templates/druid/druid-30.0.1.yaml @@ -0,0 +1,22 @@ +{{ $featureGates := .Values.featureGates }} +{{- if .Values.global }} + {{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }} +{{- end }} + +{{ if $featureGates.Druid }} + +apiVersion: catalog.kubedb.com/v1alpha1 +kind: DruidVersion +metadata: + name: '30.0.1' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + db: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/druid") $) }}:30.0.1' + initContainer: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/druid-init") $) }}:30.0.1' + securityContext: + runAsUser: 1000 + version: 30.0.1 +{{ end }}