Force tags to be interpreted as strings

This commit is contained in:
David Burke 2020-07-24 12:56:16 -04:00
parent d7626d5ecd
commit 0c91b56fbf
5 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@ spec:
annotations: annotations:
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
tag: {{ .Values.image.tag }} tag: "{{ .Values.image.tag }}"
labels: labels:
{{- include "glitchtip.selectorLabels" . | nindent 8 }} {{- include "glitchtip.selectorLabels" . | nindent 8 }}
spec: spec:

View file

@ -14,7 +14,7 @@ spec:
annotations: annotations:
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
tag: {{ .Values.image.tag }} tag: "{{ .Values.image.tag }}"
labels: labels:
{{- include "glitchtip.selectorLabels" . | nindent 8 }} {{- include "glitchtip.selectorLabels" . | nindent 8 }}
spec: spec:

View file

@ -15,7 +15,7 @@ spec:
annotations: annotations:
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
tag: {{ .Values.image.tag }} tag: "{{ .Values.image.tag }}"
labels: labels:
{{- include "glitchtip.selectorLabels" . | nindent 8 }} {{- include "glitchtip.selectorLabels" . | nindent 8 }}
role: web role: web

View file

@ -10,7 +10,7 @@ metadata:
"helm.sh/hook-weight": "0" "helm.sh/hook-weight": "0"
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
tag: {{ .Values.image.tag }} tag: "{{ .Values.image.tag }}"
spec: spec:
activeDeadlineSeconds: 600 activeDeadlineSeconds: 600
template: template:

View file

@ -28,8 +28,8 @@ web:
cputhreshold: 70 cputhreshold: 70
minpods: 2 minpods: 2
maxpods: 4 maxpods: 4
budget: # budget:
minAvailable: 1 # minAvailable: 1
resources: resources:
{} {}
# limits: # limits: