diff --git a/charts/vc-authn-oidc/templates/agent/deployment.yaml b/charts/vc-authn-oidc/templates/agent/deployment.yaml index aab2bcdc..30387635 100644 --- a/charts/vc-authn-oidc/templates/agent/deployment.yaml +++ b/charts/vc-authn-oidc/templates/agent/deployment.yaml @@ -5,6 +5,10 @@ metadata: name: {{ $acapyFullName }} labels: {{- include "acapy.labels" . | nindent 4 }} + annotations: + checksum/config: {{ include (print $.Template.BasePath "/agent/configmap.yaml") . | sha256sum }} + checksum/db-secret: {{ include (print $.Template.BasePath "/agent/database_secret.yaml") . | sha256sum }} + checksum/acapy-secrets: {{ include (print $.Template.BasePath "/agent/secrets.yaml") . | sha256sum }} spec: {{- if not .Values.acapy.autoscaling.enabled }} replicas: {{ .Values.acapy.replicaCount }} diff --git a/charts/vc-authn-oidc/templates/agent/secret.yaml b/charts/vc-authn-oidc/templates/agent/secrets.yaml similarity index 100% rename from charts/vc-authn-oidc/templates/agent/secret.yaml rename to charts/vc-authn-oidc/templates/agent/secrets.yaml diff --git a/charts/vc-authn-oidc/templates/deployment.yaml b/charts/vc-authn-oidc/templates/deployment.yaml index df969a0f..9f6b359e 100644 --- a/charts/vc-authn-oidc/templates/deployment.yaml +++ b/charts/vc-authn-oidc/templates/deployment.yaml @@ -4,6 +4,9 @@ metadata: name: {{ include "global.fullname" . }} labels: {{- include "vc-authn-oidc.labels" . | nindent 4 }} + annotations: + checksum/db-api-secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} + checksum/agent-secrets: {{ include (print $.Template.BasePath "/agent/secrets.yaml") . | sha256sum }} spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }}