Skip to content

Commit

Permalink
Add druid version 31.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Tapajit Chandra Paul <[email protected]>
  • Loading branch information
tapojit047 committed Dec 18, 2024
1 parent b4e15c4 commit 301506d
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 0 deletions.
3 changes: 3 additions & 0 deletions catalog/kubedb/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"24.4.1"
],
"Druid": [
"31.0.0",
"31.0.0",
"30.0.1",
"30.0.1",
"28.0.1"
],
Expand Down
14 changes: 14 additions & 0 deletions catalog/kubedb/raw/druid/druid-30.0.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,17 @@ spec:
securityContext:
runAsUser: 1000
version: 30.0.1

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: DruidVersion
metadata:
name: 30.0.1
spec:
db:
image: ghcr.io/appscode-images/druid:31.0.0
initContainer:
image: ghcr.io/kubedb/druid-init:31.0.0
securityContext:
runAsUser: 1000
version: 30.0.1
26 changes: 26 additions & 0 deletions catalog/kubedb/raw/druid/druid-31.0.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: DruidVersion
metadata:
name: 31.0.0
spec:
db:
image: ghcr.io/appscode-images/druid:31.0.0
initContainer:
image: ghcr.io/kubedb/druid-init:31.0.0
securityContext:
runAsUser: 1000
version: 31.0.0

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: DruidVersion
metadata:
name: 31.0.0
spec:
db:
image: ghcr.io/appscode-images/druid:31.0.0
initContainer:
image: ghcr.io/kubedb/druid-init:31.0.0
securityContext:
runAsUser: 1000
version: 31.0.0
17 changes: 17 additions & 0 deletions charts/kubedb-catalog/templates/druid/druid-30.0.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,21 @@ spec:
securityContext:
runAsUser: 1000
version: 30.0.1

---

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") $) }}:31.0.0'
initContainer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/druid-init") $) }}:31.0.0'
securityContext:
runAsUser: 1000
version: 30.0.1
{{ end }}
39 changes: 39 additions & 0 deletions charts/kubedb-catalog/templates/druid/druid-31.0.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{{ $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: '31.0.0'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
db:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/druid") $) }}:31.0.0'
initContainer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/druid-init") $) }}:31.0.0'
securityContext:
runAsUser: 1000
version: 31.0.0

---

apiVersion: catalog.kubedb.com/v1alpha1
kind: DruidVersion
metadata:
name: '31.0.0'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
db:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/druid") $) }}:31.0.0'
initContainer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/druid-init") $) }}:31.0.0'
securityContext:
runAsUser: 1000
version: 31.0.0
{{ end }}

0 comments on commit 301506d

Please sign in to comment.