add checksum/secret annotation

This commit is contained in:
2022-11-16 14:37:07 +03:00
parent c2c9255462
commit e7598dc380
3 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ metadata:
{{- include "n8n.labels" . | nindent 4 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
spec:
replicas: 1
selector:

View File

@ -6,6 +6,7 @@ metadata:
{{- include "n8n.labels" . | nindent 4 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
spec:
{{- if not .Values.webhook.autoscaling.enabled }}
replicas: {{ .Values.webhook.replicaCount }}

View File

@ -6,6 +6,7 @@ metadata:
{{- include "n8n.labels" . | nindent 4 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
spec:
{{- if not .Values.worker.autoscaling.enabled }}
replicas: {{ .Values.worker.replicaCount }}