From 8a1c86184dd989fa52e9623dad45c3a5b9e1bec0 Mon Sep 17 00:00:00 2001 From: Benjamin Lindner Date: Thu, 13 Feb 2025 07:50:59 +0100 Subject: [PATCH] rename --- .../patches/unique_certificate_name.yaml | 2 +- config/istio/commonlabels_override.yaml | 3 +-- ....yaml => endpoints_authorization_policy.yaml} | 0 config/istio/kustomization.yaml | 16 ++++++---------- ...yaml => deployment_exclude_webhook_port.yaml} | 0 ..._labels.yaml => deployment_istio_inject.yaml} | 0 6 files changed, 8 insertions(+), 13 deletions(-) rename config/istio/{ap.yaml => endpoints_authorization_policy.yaml} (100%) rename config/istio/patches/{exclude_webhook_port.yaml => deployment_exclude_webhook_port.yaml} (100%) rename config/istio/patches/{istio_deployment_labels.yaml => deployment_istio_inject.yaml} (100%) diff --git a/config/control-plane/patches/unique_certificate_name.yaml b/config/control-plane/patches/unique_certificate_name.yaml index bf53cdf233..c9eb096306 100644 --- a/config/control-plane/patches/unique_certificate_name.yaml +++ b/config/control-plane/patches/unique_certificate_name.yaml @@ -3,4 +3,4 @@ kind: Certificate metadata: name: controller-manager-webhook-serving # this name should match the one appeared in kustomizeconfig.yaml spec: - secretName: klm-controller-manager-webhook # this secret will not be prefixed, since it's not managed by kustomize \ No newline at end of file + secretName: klm-controller-manager-webhook # secretName will not be prefixed, since it's not managed by kustomize \ No newline at end of file diff --git a/config/istio/commonlabels_override.yaml b/config/istio/commonlabels_override.yaml index f11a704f31..754834e22f 100644 --- a/config/istio/commonlabels_override.yaml +++ b/config/istio/commonlabels_override.yaml @@ -1,8 +1,7 @@ # This is an extension to builtin commonLabels, # reference https://github.com/kubernetes-sigs/kustomize/blob/master/api/konfig/builtinpluginconsts/commonlabels.go - commonLabels: - path: spec/selector/matchLabels create: true version: v1beta1 - kind: AuthorizationPolicy \ No newline at end of file + kind: AuthorizationPolicy diff --git a/config/istio/ap.yaml b/config/istio/endpoints_authorization_policy.yaml similarity index 100% rename from config/istio/ap.yaml rename to config/istio/endpoints_authorization_policy.yaml diff --git a/config/istio/kustomization.yaml b/config/istio/kustomization.yaml index 5ef5308a6f..e793b3f558 100644 --- a/config/istio/kustomization.yaml +++ b/config/istio/kustomization.yaml @@ -1,15 +1,11 @@ apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component - -configurations: -- commonlabels_override.yaml - -resources: -- ap.yaml - generatorOptions: disableNameSuffixHash: true - +configurations: + - commonlabels_override.yaml +resources: + - endpoints_authorization_policy.yaml patches: - - path: patches/istio_deployment_labels.yaml - - path: patches/exclude_webhook_port.yaml + - path: patches/deployment_istio_inject.yaml + - path: patches/deployment_exclude_webhook_port.yaml diff --git a/config/istio/patches/exclude_webhook_port.yaml b/config/istio/patches/deployment_exclude_webhook_port.yaml similarity index 100% rename from config/istio/patches/exclude_webhook_port.yaml rename to config/istio/patches/deployment_exclude_webhook_port.yaml diff --git a/config/istio/patches/istio_deployment_labels.yaml b/config/istio/patches/deployment_istio_inject.yaml similarity index 100% rename from config/istio/patches/istio_deployment_labels.yaml rename to config/istio/patches/deployment_istio_inject.yaml