Skip to content

Commit

Permalink
chore(chart): don't use .Release.Time which is removed in Helm 3 (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio authored Nov 16, 2022
1 parent 0134564 commit e2fa721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/developers-italia-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: v0.2.1
version: v0.2.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/developers-italia-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "developers-italia-api.labels" . | nindent 4 }}
{{- with .Values.deploymentAnnotations }}
annotations:
timestamp: "{{ date "20060102150405" .Release.Time }}"
timestamp: {{ now | date "20060102150405" | quote }}

{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down

0 comments on commit e2fa721

Please sign in to comment.