Skip to content

Commit

Permalink
Add RabbitMQ v4.0.4 and Memcached v1.6.33
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Raisul Islam Evan <[email protected]>
  • Loading branch information
Evanraisul committed Dec 12, 2024
1 parent 4b9b27c commit e33b553
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 11 deletions.
1 change: 1 addition & 0 deletions catalog/kubedb/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"10.4.32"
],
"Memcached": [
"1.6.33",
"1.6.29",
"1.6.22",
"1.5.22"
Expand Down
2 changes: 1 addition & 1 deletion catalog/kubedb/raw/memcached/memcached-1.5.22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ spec:
runAsUser: 999
updateConstraints:
allowlist:
- '>1.5.22, <= 1.6.29'
- '>1.5.22, <= 1.6.33'
version: 1.5.22
2 changes: 1 addition & 1 deletion catalog/kubedb/raw/memcached/memcached-1.6.22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ spec:
runAsUser: 999
updateConstraints:
allowlist:
- '>1.6.22, <= 1.6.29'
- '>1.6.22, <= 1.6.33'
version: 1.6.22
2 changes: 1 addition & 1 deletion catalog/kubedb/raw/memcached/memcached-1.6.29.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ spec:
runAsUser: 999
updateConstraints:
allowlist:
- '>1.6.29, <= 1.6.29'
- 1.6.33
version: 1.6.29
17 changes: 17 additions & 0 deletions catalog/kubedb/raw/memcached/memcached-1.6.33.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: MemcachedVersion
metadata:
name: 1.6.33
spec:
db:
image: ghcr.io/appscode-images/memcached:1.6.33-alpine
exporter:
image: ghcr.io/appscode-images/memcached_exporter:v0.14.3-ac
podSecurityPolicies:
databasePolicyName: memcached-db
securityContext:
runAsUser: 999
updateConstraints:
allowlist:
- 1.6.33
version: 1.6.33
2 changes: 1 addition & 1 deletion catalog/kubedb/raw/rabbitmq/rabbitmq-4.0.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
db:
image: ghcr.io/appscode-images/rabbitmq:4.0.4-management-alpine
initContainer:
image: ghcr.io/kubedb/rabbitmq-init:3.13.2
image: ghcr.io/kubedb/rabbitmq-init:3.12.12
securityContext:
runAsUser: 999
version: 4.0.4
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ spec:
runAsUser: 999
updateConstraints:
allowlist:
- '>1.5.22, <= 1.6.29'
- '>1.5.22, <= 1.6.33'
version: 1.5.22
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ spec:
runAsUser: 999
updateConstraints:
allowlist:
- '>1.6.22, <= 1.6.29'
- '>1.6.22, <= 1.6.33'
version: 1.6.22
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ spec:
runAsUser: 999
updateConstraints:
allowlist:
- '>1.6.29, <= 1.6.29'
- 1.6.33
version: 1.6.29
{{ end }}
27 changes: 27 additions & 0 deletions charts/kubedb-catalog/templates/memcached/memcached-1.6.33.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Memcached }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: MemcachedVersion
metadata:
name: '1.6.33'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
db:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/memcached") $) }}:1.6.33-alpine'
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/memcached_exporter") $) }}:v0.14.3-ac'
podSecurityPolicies:
databasePolicyName: memcached-db
securityContext:
runAsUser: 999
updateConstraints:
allowlist:
- 1.6.33
version: 1.6.33
{{ end }}
8 changes: 4 additions & 4 deletions charts/kubedb-catalog/templates/rabbitmq/rabbitmq-4.0.4.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}
{{- end }}

{{ if $featureGates.RabbitMQ }}
{{ if $featureGates.RabbitMQ }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: RabbitMQVersion
Expand All @@ -15,7 +15,7 @@ spec:
db:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/rabbitmq") $) }}:4.0.4-management-alpine'
initContainer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/rabbitmq-init") $) }}:3.13.2'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/rabbitmq-init") $) }}:3.12.12'
securityContext:
runAsUser: 999
version: 4.0.4
Expand Down

0 comments on commit e33b553

Please sign in to comment.