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
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.9.2
version: 1.10.0
appVersion: 1.12.5
home: http://spinnaker.io/
sources:
Expand Down
4 changes: 3 additions & 1 deletion stable/spinnaker/templates/statefulsets/halyard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ spec:
- metadata:
name: halyard-home
labels:
{{ include "spinnaker.standard-labels" . | indent 8 }}
app: {{ include "spinnaker.fullname" . | quote }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to place these values in a helper, then reference it to be something as follows?
{{ include "spinnaker.standard-labels-base" . | indent 8 }}

I know it is another layer of abstraction, but we can use the base labels for other parts of the chart where necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dwardu89 Thanks for your review.
The commit 50efbac defines "spinnaker.standard-labels-base", and use it.

heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }}
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
Expand Down