From d3511f72afd14f5de8ba2206ddb962a2358451a1 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Mon, 15 Jul 2024 02:04:34 +1000 Subject: [PATCH] fix ks issues --- .../ingress-nginx/env/k3s-cluster/kustomization.yaml | 10 +++++++++- .../env/k3s-cluster/kustomization.yaml | 8 +++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/infrastructures/ingress-nginx/env/k3s-cluster/kustomization.yaml b/infrastructures/ingress-nginx/env/k3s-cluster/kustomization.yaml index 12595f6..c312b20 100644 --- a/infrastructures/ingress-nginx/env/k3s-cluster/kustomization.yaml +++ b/infrastructures/ingress-nginx/env/k3s-cluster/kustomization.yaml @@ -2,4 +2,12 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./configmap.yaml - - ../../base/kustomization.yaml \ No newline at end of file +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +helmCharts: + - name: ingress-nginx + repo: https://kubernetes.github.io/ingress-nginx + version: 4.10.1 + releaseName: ingress-nginx + valuesFile: values.yaml \ No newline at end of file diff --git a/resources/local-path-provisioner/env/k3s-cluster/kustomization.yaml b/resources/local-path-provisioner/env/k3s-cluster/kustomization.yaml index 564a122..7e72e2a 100644 --- a/resources/local-path-provisioner/env/k3s-cluster/kustomization.yaml +++ b/resources/local-path-provisioner/env/k3s-cluster/kustomization.yaml @@ -1,4 +1,10 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - ../../base/kustomization.yaml \ No newline at end of file + - ../../base/service-account.yaml + - ../../base/role.yaml + - ../../base/cluster-role.yaml + - ../../base/role-binding.yaml + - ../../base/cluster-role-binding.yaml + - ../../base/deployment.yaml + - ../../base/storage-class.yaml \ No newline at end of file