Implement pre-delete hook for graceful delete of spiffe-oidc-discovery-provider (#353)

This commit is contained in:
Marco Franssen
2023-06-17 06:06:27 -07:00
committed by GitHub
parent a6dcf267d1
commit c11a8c00e7
10 changed files with 108 additions and 14 deletions
@@ -63,7 +63,7 @@ spec:
- name: post-install-job
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
image: {{ template "spire-server.kubectl-image" (dict "appVersion" $.Chart.AppVersion "image" .Values.tools.kubectl.image "global" .Values.global "KubeVersion" .Capabilities.KubeVersion.Version) }}
image: {{ template "spire-lib.kubectl-image" (dict "appVersion" $.Chart.AppVersion "image" .Values.tools.kubectl.image "global" .Values.global "KubeVersion" .Capabilities.KubeVersion.Version) }}
args:
- patch
- validatingwebhookconfiguration