-
Notifications
You must be signed in to change notification settings - Fork 705
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade kustomization files to Kustomize v5
Signed-off-by: oksanabaza <[email protected]>
- Loading branch information
1 parent
2adb2cb
commit f547b48
Showing
2 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,7 @@ controller-gen: ## Download controller-gen locally if necessary. | |
|
||
KUSTOMIZE = $(shell pwd)/bin/kustomize | ||
kustomize: ## Download kustomize locally if necessary. | ||
GOBIN=$(PROJECT_DIR)/bin go install sigs.k8s.io/kustomize/kustomize/[email protected] | ||
GOBIN=$(PROJECT_DIR)/bin go install sigs.k8s.io/kustomize/kustomize/[email protected] | ||
|
||
## Download external CRDs for the integration testings. | ||
EXTERNAL_CRDS_DIR ?= $(PROJECT_DIR)/manifests/external-crds | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- manifests.yaml | ||
commonLabels: | ||
control-plane: kubeflow-training-operator | ||
- manifests.yaml | ||
patches: | ||
- path: patch.yaml | ||
target: | ||
group: admissionregistration.k8s.io | ||
version: v1 | ||
kind: ValidatingWebhookConfiguration | ||
- path: patch.yaml | ||
target: | ||
group: admissionregistration.k8s.io | ||
kind: ValidatingWebhookConfiguration | ||
version: v1 | ||
|
||
configurations: | ||
- kustomizeconfig.yaml | ||
- kustomizeconfig.yaml | ||
labels: | ||
- includeSelectors: true | ||
pairs: | ||
control-plane: kubeflow-training-operator |