From fa3114305fb7ddf3fa3741cace62e60fe69ca230 Mon Sep 17 00:00:00 2001 From: Neaj Morshad Date: Thu, 2 Nov 2023 17:54:21 +0600 Subject: [PATCH] Add redis version 7.2.3 and 6.2.14 Signed-off-by: Neaj Morshad --- catalog/active_versions.json | 2 ++ catalog/backup_tasks.json | 2 ++ catalog/raw/redis/redis-6.2.14.yaml | 22 ++++++++++++++++ catalog/raw/redis/redis-7.2.3.yaml | 22 ++++++++++++++++ catalog/restore_tasks.json | 2 ++ .../templates/redis/redis-6.2.14.yaml | 26 +++++++++++++++++++ .../templates/redis/redis-7.2.3.yaml | 26 +++++++++++++++++++ 7 files changed, 102 insertions(+) create mode 100644 catalog/raw/redis/redis-6.2.14.yaml create mode 100644 catalog/raw/redis/redis-7.2.3.yaml create mode 100644 charts/kubedb-catalog/templates/redis/redis-6.2.14.yaml create mode 100644 charts/kubedb-catalog/templates/redis/redis-7.2.3.yaml diff --git a/catalog/active_versions.json b/catalog/active_versions.json index d18fca32b..54e64358f 100644 --- a/catalog/active_versions.json +++ b/catalog/active_versions.json @@ -217,12 +217,14 @@ "2.3.2-centos" ], "Redis": [ + "7.2.3", "7.2.0", "7.0.10", "7.0.9", "7.0.6", "7.0.5", "7.0.4", + "6.2.14", "6.2.11", "6.2.8", "6.2.7", diff --git a/catalog/backup_tasks.json b/catalog/backup_tasks.json index 142cc3a84..bfdb3a6fd 100644 --- a/catalog/backup_tasks.json +++ b/catalog/backup_tasks.json @@ -254,6 +254,7 @@ "5.0.3-v1" ], "redis-backup-6.2.5": [ + "6.2.14", "6.2.11", "6.2.8", "6.2.7", @@ -262,6 +263,7 @@ "6.0.6" ], "redis-backup-7.0.5": [ + "7.2.3", "7.2.0", "7.0.10", "7.0.9", diff --git a/catalog/raw/redis/redis-6.2.14.yaml b/catalog/raw/redis/redis-6.2.14.yaml new file mode 100644 index 000000000..dfd713ca8 --- /dev/null +++ b/catalog/raw/redis/redis-6.2.14.yaml @@ -0,0 +1,22 @@ +apiVersion: catalog.kubedb.com/v1alpha1 +kind: RedisVersion +metadata: + name: 6.2.14 +spec: + coordinator: + image: ghcr.io/kubedb/redis-coordinator:v0.15.0 + db: + image: redis:6.2.14 + exporter: + image: ghcr.io/kubedb/redis_exporter:1.9.0 + initContainer: + image: ghcr.io/kubedb/redis-init:0.7.0 + podSecurityPolicies: + databasePolicyName: redis-db + stash: + addon: + backupTask: + name: redis-backup-6.2.5 + restoreTask: + name: redis-restore-6.2.5 + version: 6.2.14 diff --git a/catalog/raw/redis/redis-7.2.3.yaml b/catalog/raw/redis/redis-7.2.3.yaml new file mode 100644 index 000000000..647389273 --- /dev/null +++ b/catalog/raw/redis/redis-7.2.3.yaml @@ -0,0 +1,22 @@ +apiVersion: catalog.kubedb.com/v1alpha1 +kind: RedisVersion +metadata: + name: 7.2.3 +spec: + coordinator: + image: ghcr.io/kubedb/redis-coordinator:v0.15.0 + db: + image: redis:7.2.3 + exporter: + image: ghcr.io/kubedb/redis_exporter:1.9.0 + initContainer: + image: ghcr.io/kubedb/redis-init:0.7.0 + podSecurityPolicies: + databasePolicyName: redis-db + stash: + addon: + backupTask: + name: redis-backup-7.0.5 + restoreTask: + name: redis-restore-7.0.5 + version: 7.2.3 diff --git a/catalog/restore_tasks.json b/catalog/restore_tasks.json index df2f554f9..834e60c63 100644 --- a/catalog/restore_tasks.json +++ b/catalog/restore_tasks.json @@ -254,6 +254,7 @@ "5.0.3-v1" ], "redis-restore-6.2.5": [ + "6.2.14", "6.2.11", "6.2.8", "6.2.7", @@ -262,6 +263,7 @@ "6.0.6" ], "redis-restore-7.0.5": [ + "7.2.3", "7.2.0", "7.0.10", "7.0.9", diff --git a/charts/kubedb-catalog/templates/redis/redis-6.2.14.yaml b/charts/kubedb-catalog/templates/redis/redis-6.2.14.yaml new file mode 100644 index 000000000..530531e6d --- /dev/null +++ b/charts/kubedb-catalog/templates/redis/redis-6.2.14.yaml @@ -0,0 +1,26 @@ +{{ if .Values.catalog.redis }} +apiVersion: catalog.kubedb.com/v1alpha1 +kind: RedisVersion +metadata: + name: '6.2.14' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + coordinator: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/redis-coordinator") $) }}:v0.15.0' + db: + image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "redis") $) }}:6.2.14' + exporter: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/redis_exporter") $) }}:1.9.0' + initContainer: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/redis-init") $) }}:0.7.0' + podSecurityPolicies: + databasePolicyName: redis-db + stash: + addon: + backupTask: + name: redis-backup-6.2.5 + restoreTask: + name: redis-restore-6.2.5 + version: 6.2.14 +{{ end }} diff --git a/charts/kubedb-catalog/templates/redis/redis-7.2.3.yaml b/charts/kubedb-catalog/templates/redis/redis-7.2.3.yaml new file mode 100644 index 000000000..1ea4c76f4 --- /dev/null +++ b/charts/kubedb-catalog/templates/redis/redis-7.2.3.yaml @@ -0,0 +1,26 @@ +{{ if .Values.catalog.redis }} +apiVersion: catalog.kubedb.com/v1alpha1 +kind: RedisVersion +metadata: + name: '7.2.3' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + coordinator: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/redis-coordinator") $) }}:v0.15.0' + db: + image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "redis") $) }}:7.2.3' + exporter: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/redis_exporter") $) }}:1.9.0' + initContainer: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/redis-init") $) }}:0.7.0' + podSecurityPolicies: + databasePolicyName: redis-db + stash: + addon: + backupTask: + name: redis-backup-7.0.5 + restoreTask: + name: redis-restore-7.0.5 + version: 7.2.3 +{{ end }}