diff --git a/resources/local-path-provisioner/base/Chart.yaml b/resources/local-path-provisioner/base/Chart.yaml new file mode 100644 index 0000000..73cf757 --- /dev/null +++ b/resources/local-path-provisioner/base/Chart.yaml @@ -0,0 +1,21 @@ +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/kustomization.yaml b/resources/local-path-provisioner/base/kustomization.yaml deleted file mode 100644 index ac927b5..0000000 --- a/resources/local-path-provisioner/base/kustomization.yaml +++ /dev/null @@ -1,10 +0,0 @@ -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/cluster-role-binding.yaml b/resources/local-path-provisioner/base/template/cluster-role-binding.yaml similarity index 100% rename from resources/local-path-provisioner/base/cluster-role-binding.yaml rename to resources/local-path-provisioner/base/template/cluster-role-binding.yaml diff --git a/resources/local-path-provisioner/base/cluster-role.yaml b/resources/local-path-provisioner/base/template/cluster-role.yaml similarity index 100% rename from resources/local-path-provisioner/base/cluster-role.yaml rename to resources/local-path-provisioner/base/template/cluster-role.yaml diff --git a/resources/local-path-provisioner/base/deployment.yaml b/resources/local-path-provisioner/base/template/deployment.yaml similarity index 100% rename from resources/local-path-provisioner/base/deployment.yaml rename to resources/local-path-provisioner/base/template/deployment.yaml diff --git a/resources/local-path-provisioner/base/role-binding.yaml b/resources/local-path-provisioner/base/template/role-binding.yaml similarity index 100% rename from resources/local-path-provisioner/base/role-binding.yaml rename to resources/local-path-provisioner/base/template/role-binding.yaml diff --git a/resources/local-path-provisioner/base/role.yaml b/resources/local-path-provisioner/base/template/role.yaml similarity index 100% rename from resources/local-path-provisioner/base/role.yaml rename to resources/local-path-provisioner/base/template/role.yaml diff --git a/resources/local-path-provisioner/base/service-account.yaml b/resources/local-path-provisioner/base/template/service-account.yaml similarity index 100% rename from resources/local-path-provisioner/base/service-account.yaml rename to resources/local-path-provisioner/base/template/service-account.yaml diff --git a/resources/local-path-provisioner/base/storage-class.yaml b/resources/local-path-provisioner/base/template/storage-class.yaml similarity index 100% rename from resources/local-path-provisioner/base/storage-class.yaml rename to resources/local-path-provisioner/base/template/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 a227ac4..f1b27dc 100644 --- a/resources/local-path-provisioner/env/k3s-cluster/kustomization.yaml +++ b/resources/local-path-provisioner/env/k3s-cluster/kustomization.yaml @@ -1,4 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -resources: - - ../../base \ No newline at end of file +helmCharts: + - name: local-path-provisioner + repo: ../../base + version: 0.1.0 + releaseName: local-path-provisioner \ No newline at end of file