From 88e1170037ae088d48eecf1475454e88e87cd1a9 Mon Sep 17 00:00:00 2001 From: Timtor Chen Date: Wed, 7 Aug 2024 16:48:43 +0800 Subject: [PATCH] chore: put kube-system kustomization into subfolders --- .../kube-system/cilium/kustomization.yaml | 7 +++++ kubernetes/kube-system/kustomization.yaml | 26 ------------------- .../metrics-server/kustomization.yaml | 7 +++++ .../node-feature-discovery/kustomization.yaml | 8 ++++++ .../kustomization.yaml | 7 +++++ .../kustomization.yaml | 7 +++++ .../snapshot-controller/kustomization.yaml | 9 +++++++ 7 files changed, 45 insertions(+), 26 deletions(-) create mode 100644 kubernetes/kube-system/cilium/kustomization.yaml delete mode 100644 kubernetes/kube-system/kustomization.yaml create mode 100644 kubernetes/kube-system/metrics-server/kustomization.yaml create mode 100644 kubernetes/kube-system/node-feature-discovery/kustomization.yaml create mode 100644 kubernetes/kube-system/secrets-store-csi-driver-provider-aws/kustomization.yaml create mode 100644 kubernetes/kube-system/secrets-store-csi-driver/kustomization.yaml create mode 100644 kubernetes/kube-system/snapshot-controller/kustomization.yaml diff --git a/kubernetes/kube-system/cilium/kustomization.yaml b/kubernetes/kube-system/cilium/kustomization.yaml new file mode 100644 index 00000000..c0995093 --- /dev/null +++ b/kubernetes/kube-system/cilium/kustomization.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - repo.yaml + - release.yaml + - netpol.yaml diff --git a/kubernetes/kube-system/kustomization.yaml b/kubernetes/kube-system/kustomization.yaml deleted file mode 100644 index bdd8dce4..00000000 --- a/kubernetes/kube-system/kustomization.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - base/ns.yaml - - cilium/repo.yaml - - cilium/release.yaml - - cilium/netpol.yaml - - metrics-server/repo.yaml - - metrics-server/release.yaml - - metrics-server/netpol.yaml - - secrets-store-csi-driver/repo.yaml - - secrets-store-csi-driver/release.yaml - - secrets-store-csi-driver/netpol.yaml - - secrets-store-csi-driver-provider-aws/repo.yaml - - secrets-store-csi-driver-provider-aws/release.yaml - - secrets-store-csi-driver-provider-aws/netpol.yaml - - snapshot-controller/crd-repo.yaml - - snapshot-controller/crd.yaml - - snapshot-controller/app-repo.yaml - - snapshot-controller/app.yaml - - snapshot-controller/netpol.yaml - - node-feature-discovery/repo.yaml - - node-feature-discovery/release.yaml - - node-feature-discovery/rule.yaml - - node-feature-discovery/netpol.yaml diff --git a/kubernetes/kube-system/metrics-server/kustomization.yaml b/kubernetes/kube-system/metrics-server/kustomization.yaml new file mode 100644 index 00000000..c0995093 --- /dev/null +++ b/kubernetes/kube-system/metrics-server/kustomization.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - repo.yaml + - release.yaml + - netpol.yaml diff --git a/kubernetes/kube-system/node-feature-discovery/kustomization.yaml b/kubernetes/kube-system/node-feature-discovery/kustomization.yaml new file mode 100644 index 00000000..3521f07d --- /dev/null +++ b/kubernetes/kube-system/node-feature-discovery/kustomization.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - repo.yaml + - release.yaml + - rule.yaml + - netpol.yaml diff --git a/kubernetes/kube-system/secrets-store-csi-driver-provider-aws/kustomization.yaml b/kubernetes/kube-system/secrets-store-csi-driver-provider-aws/kustomization.yaml new file mode 100644 index 00000000..c0995093 --- /dev/null +++ b/kubernetes/kube-system/secrets-store-csi-driver-provider-aws/kustomization.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - repo.yaml + - release.yaml + - netpol.yaml diff --git a/kubernetes/kube-system/secrets-store-csi-driver/kustomization.yaml b/kubernetes/kube-system/secrets-store-csi-driver/kustomization.yaml new file mode 100644 index 00000000..c0995093 --- /dev/null +++ b/kubernetes/kube-system/secrets-store-csi-driver/kustomization.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - repo.yaml + - release.yaml + - netpol.yaml diff --git a/kubernetes/kube-system/snapshot-controller/kustomization.yaml b/kubernetes/kube-system/snapshot-controller/kustomization.yaml new file mode 100644 index 00000000..d051f32d --- /dev/null +++ b/kubernetes/kube-system/snapshot-controller/kustomization.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - crd-repo.yaml + - crd.yaml + - app-repo.yaml + - app.yaml + - netpol.yaml