diff options
Diffstat (limited to 'kubernetes/common/postgres-init/values.yaml')
-rw-r--r-- | kubernetes/common/postgres-init/values.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kubernetes/common/postgres-init/values.yaml b/kubernetes/common/postgres-init/values.yaml index 99be8354be..dbe28754f6 100644 --- a/kubernetes/common/postgres-init/values.yaml +++ b/kubernetes/common/postgres-init/values.yaml @@ -109,3 +109,15 @@ readinessCheck: wait_for_job_container: containers: - '{{ include "common.name" . }}-update-config' + +jobAnnotations: + "helm.sh/hook": "pre-upgrade,pre-rollback,post-install" + "helm.sh/hook-delete-policy": "before-hook-creation" + "helm.sh/hook-weight": "1" + +jobPodAnnotations: + # Workarround to exclude K8S API from istio communication + # as init-container (readinessCheck) does not work with the + # Istio CNI plugin, see: + # (https://istio.io/latest/docs/setup/additional-setup/cni/#compatibility-with-application-init-containers) + traffic.sidecar.istio.io/excludeOutboundPorts: "443" |