remove namespace mutator

pull/10853/head
Sharif Elgamal 2021-03-18 16:20:49 -07:00
parent da1477f3f8
commit 419db8861f
1 changed files with 1 additions and 20 deletions

View File

@ -95,7 +95,7 @@ spec:
containers:
- name: gcp-auth
image: {{.CustomRegistries.GCPAuthWebhook | default .ImageRepository | default .Registries.GCPAuthWebhook }}{{.Images.GCPAuthWebhook}}
imagePullPolicy: IfNotPresent
imagePullPolicy: Never
ports:
- containerPort: 8443
volumeMounts:
@ -169,25 +169,6 @@ webhooks:
apiVersions: ["*"]
resources: ["pods"]
scope: "*"
- name: gcp-auth-mutate-ns.k8s.io
failurePolicy: Ignore
objectSelector:
matchExpressions:
- key: gcp-auth-skip-secret
operator: DoesNotExist
sideEffects: None
admissionReviewVersions: ["v1","v1beta1"]
clientConfig:
service:
name: gcp-auth
namespace: gcp-auth
path: "/mutate/ns"
rules:
- operations: ["CREATE"]
apiGroups: ["*"]
apiVersions: ["*"]
resources: ["namespaces"]
scope: "*"
- name: gcp-auth-mutate-sa.k8s.io
failurePolicy: Ignore
sideEffects: None