Skip to content

Commit 639234e

Browse files
committed
Revert ValidatingWebhookConfiguration changes for standalone overlay
1 parent ca0ce39 commit 639234e

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

manifests/overlays/standalone/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ secretGenerator:
1111
- name: training-operator-webhook-cert
1212
options:
1313
disableNameSuffixHash: true
14+
patches:
15+
- path: patch.yaml
16+
target:
17+
group: admissionregistration.k8s.io
18+
kind: ValidatingWebhookConfiguration
19+
version: v1
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
- op: replace
2+
path: /webhooks/0/clientConfig/service/name
3+
value: training-operator
4+
- op: replace
5+
path: /webhooks/1/clientConfig/service/name
6+
value: training-operator
7+
- op: replace
8+
path: /webhooks/2/clientConfig/service/name
9+
value: training-operator
10+
- op: replace
11+
path: /webhooks/3/clientConfig/service/name
12+
value: training-operator
13+
- op: replace
14+
path: /webhooks/4/clientConfig/service/name
15+
value: training-operator
16+
- op: replace
17+
path: /metadata/name
18+
value: validator.training-operator.kubeflow.org

0 commit comments

Comments
 (0)