From d6460b31f37e1c873195c7eb0958f6da8dc08d7e Mon Sep 17 00:00:00 2001 From: roc Date: Mon, 26 Feb 2024 16:32:20 +0800 Subject: [PATCH] refactor chart directory --- Makefile | 2 +- README.md | 2 +- {chart => charts/cert-manager-webhook-dnspod}/.helmignore | 0 {chart => charts/cert-manager-webhook-dnspod}/Chart.yaml | 0 .../cert-manager-webhook-dnspod}/templates/NOTES.txt | 0 .../cert-manager-webhook-dnspod}/templates/_helpers.tpl | 0 .../cert-manager-webhook-dnspod}/templates/apiservice.yaml | 0 .../cert-manager-webhook-dnspod}/templates/deployment.yaml | 0 .../cert-manager-webhook-dnspod}/templates/pki.yaml | 0 .../cert-manager-webhook-dnspod}/templates/rbac.yaml | 0 .../cert-manager-webhook-dnspod}/templates/secret.yaml | 0 .../cert-manager-webhook-dnspod}/templates/service.yaml | 0 {chart => charts/cert-manager-webhook-dnspod}/values.yaml | 0 13 files changed, 2 insertions(+), 2 deletions(-) rename {chart => charts/cert-manager-webhook-dnspod}/.helmignore (100%) rename {chart => charts/cert-manager-webhook-dnspod}/Chart.yaml (100%) rename {chart => charts/cert-manager-webhook-dnspod}/templates/NOTES.txt (100%) rename {chart => charts/cert-manager-webhook-dnspod}/templates/_helpers.tpl (100%) rename {chart => charts/cert-manager-webhook-dnspod}/templates/apiservice.yaml (100%) rename {chart => charts/cert-manager-webhook-dnspod}/templates/deployment.yaml (100%) rename {chart => charts/cert-manager-webhook-dnspod}/templates/pki.yaml (100%) rename {chart => charts/cert-manager-webhook-dnspod}/templates/rbac.yaml (100%) rename {chart => charts/cert-manager-webhook-dnspod}/templates/secret.yaml (100%) rename {chart => charts/cert-manager-webhook-dnspod}/templates/service.yaml (100%) rename {chart => charts/cert-manager-webhook-dnspod}/values.yaml (100%) diff --git a/Makefile b/Makefile index 379e81a..59d7d72 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,6 @@ build: push_chart: rm *.tgz - helm package chart + helm package charts/cert-manager-webhook-dnspod helm push *.tgz oci://registry-1.docker.io/imroc rm *.tgz diff --git a/README.md b/README.md index 273b875..5af15bd 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ You can install chart from git repo: ```bash $ git clone https://github.com/imroc/cert-manager-webhook-dnspod.git $ cd cert-manager-webhook-dnspod -$ helm upgrade --install cert-manager-webhook-dnspod ./chart \ +$ helm upgrade --install cert-manager-webhook-dnspod ./charts/cert-manager-webhook-dnspod \ --namespace cert-manager \ --set clusterIssuer.secretId= \ --set clusterIssuer.secretKey= diff --git a/chart/.helmignore b/charts/cert-manager-webhook-dnspod/.helmignore similarity index 100% rename from chart/.helmignore rename to charts/cert-manager-webhook-dnspod/.helmignore diff --git a/chart/Chart.yaml b/charts/cert-manager-webhook-dnspod/Chart.yaml similarity index 100% rename from chart/Chart.yaml rename to charts/cert-manager-webhook-dnspod/Chart.yaml diff --git a/chart/templates/NOTES.txt b/charts/cert-manager-webhook-dnspod/templates/NOTES.txt similarity index 100% rename from chart/templates/NOTES.txt rename to charts/cert-manager-webhook-dnspod/templates/NOTES.txt diff --git a/chart/templates/_helpers.tpl b/charts/cert-manager-webhook-dnspod/templates/_helpers.tpl similarity index 100% rename from chart/templates/_helpers.tpl rename to charts/cert-manager-webhook-dnspod/templates/_helpers.tpl diff --git a/chart/templates/apiservice.yaml b/charts/cert-manager-webhook-dnspod/templates/apiservice.yaml similarity index 100% rename from chart/templates/apiservice.yaml rename to charts/cert-manager-webhook-dnspod/templates/apiservice.yaml diff --git a/chart/templates/deployment.yaml b/charts/cert-manager-webhook-dnspod/templates/deployment.yaml similarity index 100% rename from chart/templates/deployment.yaml rename to charts/cert-manager-webhook-dnspod/templates/deployment.yaml diff --git a/chart/templates/pki.yaml b/charts/cert-manager-webhook-dnspod/templates/pki.yaml similarity index 100% rename from chart/templates/pki.yaml rename to charts/cert-manager-webhook-dnspod/templates/pki.yaml diff --git a/chart/templates/rbac.yaml b/charts/cert-manager-webhook-dnspod/templates/rbac.yaml similarity index 100% rename from chart/templates/rbac.yaml rename to charts/cert-manager-webhook-dnspod/templates/rbac.yaml diff --git a/chart/templates/secret.yaml b/charts/cert-manager-webhook-dnspod/templates/secret.yaml similarity index 100% rename from chart/templates/secret.yaml rename to charts/cert-manager-webhook-dnspod/templates/secret.yaml diff --git a/chart/templates/service.yaml b/charts/cert-manager-webhook-dnspod/templates/service.yaml similarity index 100% rename from chart/templates/service.yaml rename to charts/cert-manager-webhook-dnspod/templates/service.yaml diff --git a/chart/values.yaml b/charts/cert-manager-webhook-dnspod/values.yaml similarity index 100% rename from chart/values.yaml rename to charts/cert-manager-webhook-dnspod/values.yaml