From 70519f776a9175db2b429b7b39625262c273180d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Thu, 5 Aug 2021 00:40:02 +0200 Subject: [PATCH] Rename stable to charts folder, link README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the common approach, stable doesnt make sense. Also since coredns is the only chart in this repo, link the README instead. Signed-off-by: Manuel RĂ¼ger --- .github/workflows/lint-test.yaml | 4 ++-- .github/workflows/release.yaml | 4 +--- README.md | 15 +-------------- {stable => charts}/coredns/.helmignore | 0 {stable => charts}/coredns/Chart.yaml | 0 {stable => charts}/coredns/README.md | 0 {stable => charts}/coredns/templates/NOTES.txt | 0 {stable => charts}/coredns/templates/_helpers.tpl | 0 .../coredns/templates/clusterrole-autoscaler.yaml | 0 .../coredns/templates/clusterrole.yaml | 0 .../templates/clusterrolebinding-autoscaler.yaml | 0 .../coredns/templates/clusterrolebinding.yaml | 0 .../coredns/templates/configmap-autoscaler.yaml | 0 .../coredns/templates/configmap.yaml | 0 .../coredns/templates/deployment-autoscaler.yaml | 0 .../coredns/templates/deployment.yaml | 0 {stable => charts}/coredns/templates/hpa.yaml | 0 .../coredns/templates/poddisruptionbudget.yaml | 0 .../coredns/templates/podsecuritypolicy.yaml | 0 .../coredns/templates/service-metrics.yaml | 0 {stable => charts}/coredns/templates/service.yaml | 0 .../templates/serviceaccount-autoscaler.yaml | 0 .../coredns/templates/serviceaccount.yaml | 0 .../coredns/templates/servicemonitor.yaml | 0 {stable => charts}/coredns/values.yaml | 0 25 files changed, 4 insertions(+), 19 deletions(-) mode change 100644 => 120000 README.md rename {stable => charts}/coredns/.helmignore (100%) rename {stable => charts}/coredns/Chart.yaml (100%) rename {stable => charts}/coredns/README.md (100%) rename {stable => charts}/coredns/templates/NOTES.txt (100%) rename {stable => charts}/coredns/templates/_helpers.tpl (100%) rename {stable => charts}/coredns/templates/clusterrole-autoscaler.yaml (100%) rename {stable => charts}/coredns/templates/clusterrole.yaml (100%) rename {stable => charts}/coredns/templates/clusterrolebinding-autoscaler.yaml (100%) rename {stable => charts}/coredns/templates/clusterrolebinding.yaml (100%) rename {stable => charts}/coredns/templates/configmap-autoscaler.yaml (100%) rename {stable => charts}/coredns/templates/configmap.yaml (100%) rename {stable => charts}/coredns/templates/deployment-autoscaler.yaml (100%) rename {stable => charts}/coredns/templates/deployment.yaml (100%) rename {stable => charts}/coredns/templates/hpa.yaml (100%) rename {stable => charts}/coredns/templates/poddisruptionbudget.yaml (100%) rename {stable => charts}/coredns/templates/podsecuritypolicy.yaml (100%) rename {stable => charts}/coredns/templates/service-metrics.yaml (100%) rename {stable => charts}/coredns/templates/service.yaml (100%) rename {stable => charts}/coredns/templates/serviceaccount-autoscaler.yaml (100%) rename {stable => charts}/coredns/templates/serviceaccount.yaml (100%) rename {stable => charts}/coredns/templates/servicemonitor.yaml (100%) rename {stable => charts}/coredns/values.yaml (100%) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index c11926f..b4bc0f7 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -14,7 +14,7 @@ jobs: - name: Set up Helm uses: azure/setup-helm@v1 with: - version: v3.6.0 + version: v3.6.3 - uses: actions/setup-python@v2 with: @@ -35,7 +35,7 @@ jobs: run: ct lint - name: Create kind cluster - uses: helm/kind-action@v1.1.0 + uses: helm/kind-action@v1.2.0 if: steps.list-changed.outputs.changed == 'true' - name: Run chart-testing (install) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 606c63e..77a1dd6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,11 +23,9 @@ jobs: - name: Set up Helm uses: azure/setup-helm@v1 with: - version: v3.6.0 + version: v3.6.3 - name: Run chart-releaser uses: helm/chart-releaser-action@v1.2.1 - with: - charts_dir: stable env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/README.md b/README.md deleted file mode 100644 index 91ff36b..0000000 --- a/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# Coredns Helm Chart repository - -## Kubernetes - -This is a basic repository for *Coredns* helm charts. - -### Helm Chart - -This repository provides helm chart repo. - -``` -helm repo add coredns https://coredns.github.io/helm -helm install coredns/ -``` diff --git a/README.md b/README.md new file mode 120000 index 0000000..9f01818 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +charts/coredns/README.md \ No newline at end of file diff --git a/stable/coredns/.helmignore b/charts/coredns/.helmignore similarity index 100% rename from stable/coredns/.helmignore rename to charts/coredns/.helmignore diff --git a/stable/coredns/Chart.yaml b/charts/coredns/Chart.yaml similarity index 100% rename from stable/coredns/Chart.yaml rename to charts/coredns/Chart.yaml diff --git a/stable/coredns/README.md b/charts/coredns/README.md similarity index 100% rename from stable/coredns/README.md rename to charts/coredns/README.md diff --git a/stable/coredns/templates/NOTES.txt b/charts/coredns/templates/NOTES.txt similarity index 100% rename from stable/coredns/templates/NOTES.txt rename to charts/coredns/templates/NOTES.txt diff --git a/stable/coredns/templates/_helpers.tpl b/charts/coredns/templates/_helpers.tpl similarity index 100% rename from stable/coredns/templates/_helpers.tpl rename to charts/coredns/templates/_helpers.tpl diff --git a/stable/coredns/templates/clusterrole-autoscaler.yaml b/charts/coredns/templates/clusterrole-autoscaler.yaml similarity index 100% rename from stable/coredns/templates/clusterrole-autoscaler.yaml rename to charts/coredns/templates/clusterrole-autoscaler.yaml diff --git a/stable/coredns/templates/clusterrole.yaml b/charts/coredns/templates/clusterrole.yaml similarity index 100% rename from stable/coredns/templates/clusterrole.yaml rename to charts/coredns/templates/clusterrole.yaml diff --git a/stable/coredns/templates/clusterrolebinding-autoscaler.yaml b/charts/coredns/templates/clusterrolebinding-autoscaler.yaml similarity index 100% rename from stable/coredns/templates/clusterrolebinding-autoscaler.yaml rename to charts/coredns/templates/clusterrolebinding-autoscaler.yaml diff --git a/stable/coredns/templates/clusterrolebinding.yaml b/charts/coredns/templates/clusterrolebinding.yaml similarity index 100% rename from stable/coredns/templates/clusterrolebinding.yaml rename to charts/coredns/templates/clusterrolebinding.yaml diff --git a/stable/coredns/templates/configmap-autoscaler.yaml b/charts/coredns/templates/configmap-autoscaler.yaml similarity index 100% rename from stable/coredns/templates/configmap-autoscaler.yaml rename to charts/coredns/templates/configmap-autoscaler.yaml diff --git a/stable/coredns/templates/configmap.yaml b/charts/coredns/templates/configmap.yaml similarity index 100% rename from stable/coredns/templates/configmap.yaml rename to charts/coredns/templates/configmap.yaml diff --git a/stable/coredns/templates/deployment-autoscaler.yaml b/charts/coredns/templates/deployment-autoscaler.yaml similarity index 100% rename from stable/coredns/templates/deployment-autoscaler.yaml rename to charts/coredns/templates/deployment-autoscaler.yaml diff --git a/stable/coredns/templates/deployment.yaml b/charts/coredns/templates/deployment.yaml similarity index 100% rename from stable/coredns/templates/deployment.yaml rename to charts/coredns/templates/deployment.yaml diff --git a/stable/coredns/templates/hpa.yaml b/charts/coredns/templates/hpa.yaml similarity index 100% rename from stable/coredns/templates/hpa.yaml rename to charts/coredns/templates/hpa.yaml diff --git a/stable/coredns/templates/poddisruptionbudget.yaml b/charts/coredns/templates/poddisruptionbudget.yaml similarity index 100% rename from stable/coredns/templates/poddisruptionbudget.yaml rename to charts/coredns/templates/poddisruptionbudget.yaml diff --git a/stable/coredns/templates/podsecuritypolicy.yaml b/charts/coredns/templates/podsecuritypolicy.yaml similarity index 100% rename from stable/coredns/templates/podsecuritypolicy.yaml rename to charts/coredns/templates/podsecuritypolicy.yaml diff --git a/stable/coredns/templates/service-metrics.yaml b/charts/coredns/templates/service-metrics.yaml similarity index 100% rename from stable/coredns/templates/service-metrics.yaml rename to charts/coredns/templates/service-metrics.yaml diff --git a/stable/coredns/templates/service.yaml b/charts/coredns/templates/service.yaml similarity index 100% rename from stable/coredns/templates/service.yaml rename to charts/coredns/templates/service.yaml diff --git a/stable/coredns/templates/serviceaccount-autoscaler.yaml b/charts/coredns/templates/serviceaccount-autoscaler.yaml similarity index 100% rename from stable/coredns/templates/serviceaccount-autoscaler.yaml rename to charts/coredns/templates/serviceaccount-autoscaler.yaml diff --git a/stable/coredns/templates/serviceaccount.yaml b/charts/coredns/templates/serviceaccount.yaml similarity index 100% rename from stable/coredns/templates/serviceaccount.yaml rename to charts/coredns/templates/serviceaccount.yaml diff --git a/stable/coredns/templates/servicemonitor.yaml b/charts/coredns/templates/servicemonitor.yaml similarity index 100% rename from stable/coredns/templates/servicemonitor.yaml rename to charts/coredns/templates/servicemonitor.yaml diff --git a/stable/coredns/values.yaml b/charts/coredns/values.yaml similarity index 100% rename from stable/coredns/values.yaml rename to charts/coredns/values.yaml