Skip to content

Commit

Permalink
Add Memcached 1.6.22
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Jan 4, 2024
1 parent 53488ca commit 9fce357
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 23 deletions.
4 changes: 2 additions & 2 deletions catalog/kubedb/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"10.4.32"
],
"Memcached": [
"1.5.22",
"1.5.4-v1"
"1.6.22",
"1.5.22"
],
"MongoDB": [
"6.0.12",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: MemcachedVersion
metadata:
name: 1.5.4-v1
name: 1.5.4
spec:
db:
image: ghcr.io/kubedb/memcached:1.5.4-v1
image: ghcr.io/kubedb/memcached:1.5.4
deprecated: true
exporter:
image: ghcr.io/kubedb/memcached-exporter:v0.4.1
image: ghcr.io/kubedb/operator:0.8.0
podSecurityPolicies:
databasePolicyName: memcached-db
securityContext:
runAsUser: 999
version: 1.5.4

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: MemcachedVersion
metadata:
name: 1.5.4
name: 1.5.4-v1
spec:
db:
image: ghcr.io/kubedb/memcached:1.5.4
image: ghcr.io/kubedb/memcached:1.5.4-v1
deprecated: true
exporter:
image: ghcr.io/kubedb/operator:0.8.0
image: ghcr.io/kubedb/memcached-exporter:v0.4.1
podSecurityPolicies:
databasePolicyName: memcached-db
securityContext:
runAsUser: 999
version: 1.5.4
4 changes: 2 additions & 2 deletions catalog/kubedb/raw/memcached/memcached-1.5.22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ metadata:
name: 1.5.22
spec:
db:
image: ghcr.io/kubedb/memcached:1.5.22
image: ghcr.io/appscode-images/memcached:1.5.22-alpine
exporter:
image: ghcr.io/kubedb/memcached-exporter:v0.4.1
image: prom/memcached-exporter:v0.14.2
podSecurityPolicies:
databasePolicyName: memcached-db
securityContext:
Expand Down
14 changes: 14 additions & 0 deletions catalog/kubedb/raw/memcached/memcached-1.6.22.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: MemcachedVersion
metadata:
name: 1.6.22
spec:
db:
image: ghcr.io/appscode-images/memcached:1.6.22-alpine
exporter:
image: prom/memcached-exporter:v0.14.2
podSecurityPolicies:
databasePolicyName: memcached-db
securityContext:
runAsUser: 999
version: 1.6.22
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{{ if .Values.catalog.memcached }}
{{ if and .Values.catalog.memcached (not .Values.skipDeprecated) }}
apiVersion: catalog.kubedb.com/v1alpha1
kind: MemcachedVersion
metadata:
name: '1.5.4-v1'
name: '1.5.4'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
db:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/memcached") $) }}:1.5.4-v1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/memcached") $) }}:1.5.4'
deprecated: true
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/memcached-exporter") $) }}:v0.4.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/operator") $) }}:0.8.0'
podSecurityPolicies:
databasePolicyName: memcached-db
securityContext:
runAsUser: 999
version: 1.5.4
{{ end }}

Expand All @@ -22,16 +21,18 @@ spec:
apiVersion: catalog.kubedb.com/v1alpha1
kind: MemcachedVersion
metadata:
name: '1.5.4'
name: '1.5.4-v1'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
db:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/memcached") $) }}:1.5.4'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/memcached") $) }}:1.5.4-v1'
deprecated: true
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/operator") $) }}:0.8.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/memcached-exporter") $) }}:v0.4.1'
podSecurityPolicies:
databasePolicyName: memcached-db
securityContext:
runAsUser: 999
version: 1.5.4
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ metadata:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
db:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/memcached") $) }}:1.5.22'
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/memcached") $) }}:1.5.22-alpine'
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/memcached-exporter") $) }}:v0.4.1'
image: '{{ include "image.dockerHub" (merge (dict "_repo" "prom/memcached-exporter") $) }}:v0.14.2'
podSecurityPolicies:
databasePolicyName: memcached-db
securityContext:
Expand Down
18 changes: 18 additions & 0 deletions charts/kubedb-catalog/templates/memcached/memcached-1.6.22.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{ if .Values.catalog.memcached }}
apiVersion: catalog.kubedb.com/v1alpha1
kind: MemcachedVersion
metadata:
name: '1.6.22'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
db:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/memcached") $) }}:1.6.22-alpine'
exporter:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "prom/memcached-exporter") $) }}:v0.14.2'
podSecurityPolicies:
databasePolicyName: memcached-db
securityContext:
runAsUser: 999
version: 1.6.22
{{ end }}

0 comments on commit 9fce357

Please sign in to comment.