Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/spinnaker] Fix chart not being upgradable #13978

Merged
merged 8 commits into from
Jun 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/spinnaker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Open source, multi-cloud continuous delivery platform for releasing software changes with high velocity and confidence.
name: spinnaker
version: 1.11.3
version: 1.12.0
appVersion: 1.12.5
home: http://spinnaker.io/
sources:
Expand Down
5 changes: 4 additions & 1 deletion stable/spinnaker/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ We truncate at 24 chars because some Kubernetes name fields are limited to this
{{/*
Common labels for metadata.
*/}}
{{- define "spinnaker.standard-labels" -}}
{{- define "spinnaker.standard-labels-base" -}}
app: {{ include "spinnaker.fullname" . | quote }}
heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }}
{{- end -}}
{{- define "spinnaker.standard-labels" -}}
{{ include "spinnaker.standard-labels-base" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
{{- end -}}

Expand Down
2 changes: 1 addition & 1 deletion stable/spinnaker/templates/statefulsets/halyard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ spec:
- metadata:
name: halyard-home
labels:
{{ include "spinnaker.standard-labels" . | indent 8 }}
{{ include "spinnaker.standard-labels-base" . | indent 8 }}
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
Expand Down