Skip to content

Commit

Permalink
Fix default image name for topo (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-milkey authored May 3, 2021
1 parent fdaee6a commit fb44408
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion onos-topo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: onos-topo
description: ONOS Topology service
kubeVersion: ">=1.17.0"
type: application
version: 1.0.5
version: 1.0.6
appVersion: v0.7.4
keywords:
- onos
Expand Down
4 changes: 2 additions & 2 deletions onos-topo/templates/database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
image: {{ default .Values.storage.consensus.image "atomix/raft-storage-node:v0.4.0" }}
image: {{ default "atomix/raft-storage-node:v0.4.0" .Values.storage.consensus.image }}
imagePullPolicy: {{ .Values.storage.consensus.imagePullPolicy }}
replicas: {{ .Values.storage.consensus.replicas }}
partitionsPerCluster: {{ .Values.storage.consensus.partitionsPerCluster }}
Expand All @@ -49,7 +49,7 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
image: {{ default .Values.storage.consensus.image "atomix/cache-storage-node:v0.4.0" }}
image: {{ default "atomix/cache-storage-node:v0.4.0" .Values.storage.consensus.image }}
imagePullPolicy: {{ .Values.storage.consensus.imagePullPolicy }}
{{- else }}
{{ fail ( printf "%s is not a valid storage type" .Values.storage.consensus.type ) }}
Expand Down

0 comments on commit fb44408

Please sign in to comment.