Skip to content

Commit

Permalink
Add druid version 30.0.1
Browse files Browse the repository at this point in the history
Signed-off-by: Tapajit Chandra Paul <[email protected]>
  • Loading branch information
tapojit047 committed Nov 7, 2024
1 parent d00d5dd commit 01f5f6a
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 8 deletions.
5 changes: 2 additions & 3 deletions catalog/kubedb/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"24.4.1"
],
"Druid": [
"30.0.0",
"28.0.1",
"25.0.0"
"30.0.1",
"28.0.1"
],
"Elasticsearch": [
"xpack-8.15.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
db:
image: apache/druid:25.0.0
deprecated: true
initContainer:
image: ghcr.io/kubedb/druid-init:25.0.0
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
db:
image: ghcr.io/appscode-images/druid:30.0.0
deprecated: true
initContainer:
image: ghcr.io/kubedb/druid-init:30.0.0
securityContext:
Expand Down
12 changes: 12 additions & 0 deletions catalog/kubedb/raw/druid/druid-30.0.1.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{- end }}

{{ if $featureGates.Druid }}

{{ if or (not .Values.skipDeprecated) (has "25.0.0" .Values.enableVersions.Druid) }}
apiVersion: catalog.kubedb.com/v1alpha1
kind: DruidVersion
metadata:
Expand All @@ -19,4 +19,6 @@ spec:
securityContext:
runAsUser: 1000
version: 25.0.0
deprecated: {{ not (has "25.0.0" .Values.enableVersions.Druid) }}
{{ end }}
{{ end }}
24 changes: 24 additions & 0 deletions charts/kubedb-catalog/templates/druid/deprecated-druid-30.0.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Druid }}
{{ if or (not .Values.skipDeprecated) (has "30.0.0" .Values.enableVersions.Druid) }}
apiVersion: catalog.kubedb.com/v1alpha1
kind: DruidVersion
metadata:
name: '30.0.0'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
db:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/druid") $) }}:30.0.0'
initContainer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/druid-init") $) }}:30.0.0'
securityContext:
runAsUser: 1000
version: 30.0.0
deprecated: {{ not (has "30.0.0" .Values.enableVersions.Druid) }}
{{ end }}
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: DruidVersion
metadata:
name: '30.0.0'
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.0'
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.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/druid-init") $) }}:30.0.1'
securityContext:
runAsUser: 1000
version: 30.0.0
version: 30.0.1
{{ end }}

0 comments on commit 01f5f6a

Please sign in to comment.