add checksum/config annotation
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
2022-11-16 14:33:18 +03:00
parent 9ca2cac8b1
commit c2c9255462
4 changed files with 6 additions and 0 deletions

View File

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

View File

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

View File

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