Skip to content

Commit

Permalink
Fix helm install error when disable webhook patch (#1483)
Browse files Browse the repository at this point in the history
  • Loading branch information
YaoC committed Apr 14, 2021
1 parent f7cfe6f commit 8703950
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ webhooks:
{{- if .Values.admissionWebhooks.patch.enabled }}
failurePolicy: Ignore
{{- else }}
failurePolicy: Fails
failurePolicy: Fail
{{- end }}
name: mutating.core.oam-dev.v1alpha2.components
sideEffects: None
Expand All @@ -99,7 +99,7 @@ webhooks:
{{- if .Values.admissionWebhooks.patch.enabled }}
failurePolicy: Ignore
{{- else }}
failurePolicy: Fails
failurePolicy: Fail
{{- end }}
name: mcontainerized.kb.io
sideEffects: None
Expand Down

0 comments on commit 8703950

Please sign in to comment.