Skip to content

Commit

Permalink
Redis 5.0.3, 5.0 Catalog added (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
the-redback authored and tamalsaha committed Dec 21, 2018
1 parent 0403c66 commit d1bff34
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
53 changes: 53 additions & 0 deletions chart/kubedb-catalog/templates/redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
43 changes: 43 additions & 0 deletions hack/deploy/kubedb-catalog/redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit d1bff34

Please sign in to comment.