Merge pull request #2690 from diogoasouza/add-before-hook-creation-hook-to-opa

Changing hook-delete-policy for rancher gatekeeper
pull/2695/head
Sakala Venkata Krishna Rohit 2023-06-01 14:14:44 -07:00 committed by GitHub
commit 9233c12c82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ metadata:
app: {{ .Chart.Name }}
annotations:
"helm.sh/hook": post-install, post-upgrade, post-rollback
"helm.sh/hook-delete-policy": hook-succeeded
"helm.sh/hook-delete-policy": before-hook-creation, hook-succeeded
spec:
template:
metadata:

View File

@ -7611,9 +7611,9 @@ entries:
catalog.cattle.io/namespace: cattle-gatekeeper-system
catalog.cattle.io/release-name: rancher-gatekeeper-crd
apiVersion: v1
created: "2023-04-25T21:55:47.848882368Z"
created: "2023-05-31T00:03:46.545179354Z"
description: Installs the CRDs for rancher-gatekeeper.
digest: f361755f23e9102db12c24eeedf3e99cf3362ea048c54c5a34a6f769ef592bce
digest: 3c320abea69d3ab6b742d423e3968456f76197b5d5d711670c8d2a439591786e
name: rancher-gatekeeper-crd
type: application
urls:

View File

@ -12,7 +12,7 @@
+{{- end -}}
+{{- end -}}
+
{{/*
+{{/*
+Windows cluster will add default taint for linux nodes,
+add below linux tolerations to workloads could be scheduled to those linux nodes
+*/}}
@ -27,7 +27,7 @@
+kubernetes.io/os: linux
+{{- end -}}
+
+{{/*
{{/*
Output post install webhook probe container entry
*/}}
{{- define "gatekeeper.postInstallWebhookProbeContainer" -}}

View File

@ -7,7 +7,7 @@ metadata:
app: {{ .Chart.Name }}
annotations:
"helm.sh/hook": post-install, post-upgrade, post-rollback
"helm.sh/hook-delete-policy": hook-succeeded
"helm.sh/hook-delete-policy": before-hook-creation, hook-succeeded
spec:
template:
metadata: