From 9c759bfe8834986d1bf75f8ef0fc71f4bd459f37 Mon Sep 17 00:00:00 2001 From: Seth Foster Date: Fri, 21 Apr 2023 14:49:42 -0400 Subject: [PATCH] bump kustomize v4.5.7 to v5.0.1 (#1357) --- Makefile | 2 +- config/default/kustomization.yaml | 10 ++++------ config/testing/kustomization.yaml | 8 ++++---- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 5995f5fb..a21a019f 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ ifeq (,$(shell which kustomize 2>/dev/null)) @{ \ set -e ;\ mkdir -p $(dir $(KUSTOMIZE)) ;\ - curl -sSLo - https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v4.5.7/kustomize_v4.5.7_$(OS)_$(ARCHA).tar.gz | \ + curl -sSLo - https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v5.0.1/kustomize_v5.0.1_$(OS)_$(ARCHA).tar.gz | \ tar xzf - -C bin/ ;\ } else diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index 21420d94..1bc1b049 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -21,12 +21,10 @@ resources: # [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'. #- ../prometheus -patchesStrategicMerge: # Protect the /metrics endpoint by putting it behind auth. # If you want your controller-manager to expose the /metrics # endpoint w/o any authn/z, please comment the following line. -- manager_auth_proxy_patch.yaml - -# Mount the controller config file for loading manager configurations -# through a ComponentConfig type -#- manager_config_patch.yaml +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +patches: +- path: manager_auth_proxy_patch.yaml diff --git a/config/testing/kustomization.yaml b/config/testing/kustomization.yaml index 41091623..866bc70b 100644 --- a/config/testing/kustomization.yaml +++ b/config/testing/kustomization.yaml @@ -7,10 +7,6 @@ namePrefix: osdk- #commonLabels: # someName: someValue -patchesStrategicMerge: -- manager_image.yaml -- debug_logs_patch.yaml -- ../default/manager_auth_proxy_patch.yaml apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization @@ -21,3 +17,7 @@ resources: images: - name: testing newName: testing-operator +patches: +- path: manager_image.yaml +- path: debug_logs_patch.yaml +- path: ../default/manager_auth_proxy_patch.yaml