Skip to content

Commit f6c53bb

Browse files
authored
Merge pull request kubernetes-sigs#5759 from openshift-cloud-team/remove-invalid-kustomizeconfig
🐛 Remove invalid kustomizeconfig from config/webhook
2 parents 9ea47d0 + d475146 commit f6c53bb

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed
Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,4 @@
1-
# the following config is for teaching kustomize where to look at when substituting vars.
2-
# It requires kustomize v2.1.0 or newer to work properly.
3-
nameReference:
4-
- kind: Service
5-
version: v1
6-
fieldSpecs:
7-
- kind: MutatingWebhookConfiguration
8-
group: admissionregistration.k8s.io
9-
path: webhooks/clientConfig/service/name
10-
- kind: ValidatingWebhookConfiguration
11-
group: admissionregistration.k8s.io
12-
path: webhooks/clientConfig/service/name
13-
14-
namespace:
15-
- kind: MutatingWebhookConfiguration
16-
group: admissionregistration.k8s.io
17-
path: webhooks/clientConfig/service/namespace
18-
create: true
19-
- kind: ValidatingWebhookConfiguration
20-
group: admissionregistration.k8s.io
21-
path: webhooks/clientConfig/service/namespace
22-
create: true
23-
1+
# This directive should be removed when vars are removed from this
2+
# kustomization
243
varReference:
254
- path: metadata/annotations

0 commit comments

Comments
 (0)