diff --git a/chart/kubedb-catalog/templates/redis.yaml b/chart/kubedb-catalog/templates/redis.yaml index 70cbf7a35..d86a5f182 100644 --- a/chart/kubedb-catalog/templates/redis.yaml +++ b/chart/kubedb-catalog/templates/redis.yaml @@ -103,4 +103,57 @@ spec: image: "{{ .Values.dockerRegistry }}/redis:4.0.6-v1" exporter: image: "{{ .Values.dockerRegistry }}/redis_exporter:v0.21.1" + +--- +# After 0.9.0 + +apiVersion: catalog.kubedb.com/v1alpha1 +kind: RedisVersion +metadata: + name: "5" + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" + app: "{{ template "kubedb-catalog.name" . }}" + heritage: "{{ .Release.Service }}" + release: "{{ .Release.Name }}" +spec: + version: "5" + db: + image: "{{ .Values.dockerRegistry }}/redis:5" + exporter: + image: "{{ .Values.dockerRegistry }}/redis_exporter:v0.21.1" + +--- +apiVersion: catalog.kubedb.com/v1alpha1 +kind: RedisVersion +metadata: + name: "5.0" + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" + app: "{{ template "kubedb-catalog.name" . }}" + heritage: "{{ .Release.Service }}" + release: "{{ .Release.Name }}" +spec: + version: "5.0" + db: + image: "{{ .Values.dockerRegistry }}/redis:5.0" + exporter: + image: "{{ .Values.dockerRegistry }}/redis_exporter:v0.21.1" + +--- +apiVersion: catalog.kubedb.com/v1alpha1 +kind: RedisVersion +metadata: + name: "5.0.3" + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" + app: "{{ template "kubedb-catalog.name" . }}" + heritage: "{{ .Release.Service }}" + release: "{{ .Release.Name }}" +spec: + version: "5.0.3" + db: + image: "{{ .Values.dockerRegistry }}/redis:5.0.3" + exporter: + image: "{{ .Values.dockerRegistry }}/redis_exporter:v0.21.1" {{ end }} diff --git a/hack/deploy/kubedb-catalog/redis.yaml b/hack/deploy/kubedb-catalog/redis.yaml index c13a5c502..d643febd7 100644 --- a/hack/deploy/kubedb-catalog/redis.yaml +++ b/hack/deploy/kubedb-catalog/redis.yaml @@ -85,3 +85,46 @@ spec: exporter: image: "${KUBEDB_DOCKER_REGISTRY}/redis_exporter:v0.21.1" +--- +# After 0.9.0 + +apiVersion: catalog.kubedb.com/v1alpha1 +kind: RedisVersion +metadata: + name: "5" + labels: + app: kubedb +spec: + version: "5" + db: + image: "${KUBEDB_DOCKER_REGISTRY}/redis:5" + exporter: + image: "${KUBEDB_DOCKER_REGISTRY}/redis_exporter:v0.21.1" + +--- +apiVersion: catalog.kubedb.com/v1alpha1 +kind: RedisVersion +metadata: + name: "5.0" + labels: + app: kubedb +spec: + version: "5.0" + db: + image: "${KUBEDB_DOCKER_REGISTRY}/redis:5.0" + exporter: + image: "${KUBEDB_DOCKER_REGISTRY}/redis_exporter:v0.21.1" + +--- +apiVersion: catalog.kubedb.com/v1alpha1 +kind: RedisVersion +metadata: + name: "5.0.3" + labels: + app: kubedb +spec: + version: "5.0.3" + db: + image: "${KUBEDB_DOCKER_REGISTRY}/redis:5.0.3" + exporter: + image: "${KUBEDB_DOCKER_REGISTRY}/redis_exporter:v0.21.1"