diff --git a/resources/local-path-provisioner/base/Chart.yaml b/resources/local-path-provisioner/base/Chart.yaml deleted file mode 100644 index 73cf757..0000000 --- a/resources/local-path-provisioner/base/Chart.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: v2 -name: local-path-provisioner -description: local-path-provisioner helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: 1.0.0 \ No newline at end of file diff --git a/resources/local-path-provisioner/base/template/cluster-role-binding.yaml b/resources/local-path-provisioner/base/cluster-role-binding.yaml similarity index 100% rename from resources/local-path-provisioner/base/template/cluster-role-binding.yaml rename to resources/local-path-provisioner/base/cluster-role-binding.yaml diff --git a/resources/local-path-provisioner/base/template/cluster-role.yaml b/resources/local-path-provisioner/base/cluster-role.yaml similarity index 100% rename from resources/local-path-provisioner/base/template/cluster-role.yaml rename to resources/local-path-provisioner/base/cluster-role.yaml diff --git a/resources/local-path-provisioner/base/template/deployment.yaml b/resources/local-path-provisioner/base/deployment.yaml similarity index 100% rename from resources/local-path-provisioner/base/template/deployment.yaml rename to resources/local-path-provisioner/base/deployment.yaml diff --git a/resources/local-path-provisioner/base/kustomization.yaml b/resources/local-path-provisioner/base/kustomization.yaml new file mode 100644 index 0000000..ac927b5 --- /dev/null +++ b/resources/local-path-provisioner/base/kustomization.yaml @@ -0,0 +1,10 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ./service-account.yaml + - ./role.yaml + - ./cluster-role.yaml + - ./role-binding.yaml + - ./cluster-role-binding.yaml + - ./deployment.yaml + - ./storage-class.yaml \ No newline at end of file diff --git a/resources/local-path-provisioner/base/template/role-binding.yaml b/resources/local-path-provisioner/base/role-binding.yaml similarity index 100% rename from resources/local-path-provisioner/base/template/role-binding.yaml rename to resources/local-path-provisioner/base/role-binding.yaml diff --git a/resources/local-path-provisioner/base/template/role.yaml b/resources/local-path-provisioner/base/role.yaml similarity index 100% rename from resources/local-path-provisioner/base/template/role.yaml rename to resources/local-path-provisioner/base/role.yaml diff --git a/resources/local-path-provisioner/base/template/service-account.yaml b/resources/local-path-provisioner/base/service-account.yaml similarity index 100% rename from resources/local-path-provisioner/base/template/service-account.yaml rename to resources/local-path-provisioner/base/service-account.yaml diff --git a/resources/local-path-provisioner/base/template/storage-class.yaml b/resources/local-path-provisioner/base/storage-class.yaml similarity index 100% rename from resources/local-path-provisioner/base/template/storage-class.yaml rename to resources/local-path-provisioner/base/storage-class.yaml diff --git a/resources/local-path-provisioner/env/k3s-cluster/kustomization.yaml b/resources/local-path-provisioner/env/k3s-cluster/kustomization.yaml index f1b27dc..a227ac4 100644 --- a/resources/local-path-provisioner/env/k3s-cluster/kustomization.yaml +++ b/resources/local-path-provisioner/env/k3s-cluster/kustomization.yaml @@ -1,7 +1,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -helmCharts: - - name: local-path-provisioner - repo: ../../base - version: 0.1.0 - releaseName: local-path-provisioner \ No newline at end of file +resources: + - ../../base \ No newline at end of file