Skip to content

Commit

Permalink
Merge pull request #346 from i5okie/feature/327-auto-pod-restart
Browse files Browse the repository at this point in the history
[Helm] Add mechanism to automatically restart pods on upgrade
  • Loading branch information
esune authored Sep 20, 2023
2 parents 3eb7406 + 93c9024 commit a8d920f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/vc-authn-oidc/templates/agent/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/vc-authn-oidc/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a8d920f

Please sign in to comment.