From 43fd3fd847001b3b4e491d90cbd91cc5522b9344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=A0alata?= Date: Tue, 13 Apr 2021 12:43:20 +0200 Subject: [PATCH] Move helm directory to charts --- .github/workflows/release-chart.yaml | 7 ++----- README.md | 2 +- {helm => charts}/imagepullsecret-injector/.helmignore | 0 {helm => charts}/imagepullsecret-injector/Chart.yaml | 0 .../imagepullsecret-injector/scripts/create-signed-cert.sh | 0 .../imagepullsecret-injector/templates/_helpers.tpl | 0 .../certificate-gen/configmap-certigicate-gen.yaml | 0 .../templates/certificate-gen/cronjob-certificate-gen.yaml | 0 .../templates/certificate-gen/job-certificate-gen.yaml | 0 .../templates/certificate-gen/rbac-certificate-gen.yaml | 0 .../imagepullsecret-injector/templates/cm.yaml | 0 .../imagepullsecret-injector/templates/deployment.yaml | 0 .../templates/mutatingwebhook.yaml | 0 .../imagepullsecret-injector/templates/rbac.yaml | 0 .../imagepullsecret-injector/templates/service.yaml | 0 {helm => charts}/imagepullsecret-injector/values.yaml | 0 16 files changed, 3 insertions(+), 6 deletions(-) rename {helm => charts}/imagepullsecret-injector/.helmignore (100%) rename {helm => charts}/imagepullsecret-injector/Chart.yaml (100%) rename {helm => charts}/imagepullsecret-injector/scripts/create-signed-cert.sh (100%) rename {helm => charts}/imagepullsecret-injector/templates/_helpers.tpl (100%) rename {helm => charts}/imagepullsecret-injector/templates/certificate-gen/configmap-certigicate-gen.yaml (100%) rename {helm => charts}/imagepullsecret-injector/templates/certificate-gen/cronjob-certificate-gen.yaml (100%) rename {helm => charts}/imagepullsecret-injector/templates/certificate-gen/job-certificate-gen.yaml (100%) rename {helm => charts}/imagepullsecret-injector/templates/certificate-gen/rbac-certificate-gen.yaml (100%) rename {helm => charts}/imagepullsecret-injector/templates/cm.yaml (100%) rename {helm => charts}/imagepullsecret-injector/templates/deployment.yaml (100%) rename {helm => charts}/imagepullsecret-injector/templates/mutatingwebhook.yaml (100%) rename {helm => charts}/imagepullsecret-injector/templates/rbac.yaml (100%) rename {helm => charts}/imagepullsecret-injector/templates/service.yaml (100%) rename {helm => charts}/imagepullsecret-injector/values.yaml (100%) diff --git a/.github/workflows/release-chart.yaml b/.github/workflows/release-chart.yaml index d57e347..42228f2 100644 --- a/.github/workflows/release-chart.yaml +++ b/.github/workflows/release-chart.yaml @@ -4,9 +4,8 @@ on: push: branches: - main -# TODO: add this back -# paths: -# - 'helm/**' + paths: + - 'charts/**' jobs: release: @@ -49,7 +48,5 @@ jobs: - name: Run chart-releaser if: steps.helm_version_checker.outcome == 'success' uses: helm/chart-releaser-action@master - with: - charts_dir: 'helm' env: CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}' \ No newline at end of file diff --git a/README.md b/README.md index 572fdfc..d456e38 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Of note is also a fact that the chart runs a lookup to the connected cluster to make build-image helm upgrade -i imagepullsecret-injector \ -n imagepullsecret-injector \ - helm/imagepullsecret-injector + charts/imagepullsecret-injector ``` Alternatively, you can use the pre-built, publicly available helm chart and docker images: ```bash diff --git a/helm/imagepullsecret-injector/.helmignore b/charts/imagepullsecret-injector/.helmignore similarity index 100% rename from helm/imagepullsecret-injector/.helmignore rename to charts/imagepullsecret-injector/.helmignore diff --git a/helm/imagepullsecret-injector/Chart.yaml b/charts/imagepullsecret-injector/Chart.yaml similarity index 100% rename from helm/imagepullsecret-injector/Chart.yaml rename to charts/imagepullsecret-injector/Chart.yaml diff --git a/helm/imagepullsecret-injector/scripts/create-signed-cert.sh b/charts/imagepullsecret-injector/scripts/create-signed-cert.sh similarity index 100% rename from helm/imagepullsecret-injector/scripts/create-signed-cert.sh rename to charts/imagepullsecret-injector/scripts/create-signed-cert.sh diff --git a/helm/imagepullsecret-injector/templates/_helpers.tpl b/charts/imagepullsecret-injector/templates/_helpers.tpl similarity index 100% rename from helm/imagepullsecret-injector/templates/_helpers.tpl rename to charts/imagepullsecret-injector/templates/_helpers.tpl diff --git a/helm/imagepullsecret-injector/templates/certificate-gen/configmap-certigicate-gen.yaml b/charts/imagepullsecret-injector/templates/certificate-gen/configmap-certigicate-gen.yaml similarity index 100% rename from helm/imagepullsecret-injector/templates/certificate-gen/configmap-certigicate-gen.yaml rename to charts/imagepullsecret-injector/templates/certificate-gen/configmap-certigicate-gen.yaml diff --git a/helm/imagepullsecret-injector/templates/certificate-gen/cronjob-certificate-gen.yaml b/charts/imagepullsecret-injector/templates/certificate-gen/cronjob-certificate-gen.yaml similarity index 100% rename from helm/imagepullsecret-injector/templates/certificate-gen/cronjob-certificate-gen.yaml rename to charts/imagepullsecret-injector/templates/certificate-gen/cronjob-certificate-gen.yaml diff --git a/helm/imagepullsecret-injector/templates/certificate-gen/job-certificate-gen.yaml b/charts/imagepullsecret-injector/templates/certificate-gen/job-certificate-gen.yaml similarity index 100% rename from helm/imagepullsecret-injector/templates/certificate-gen/job-certificate-gen.yaml rename to charts/imagepullsecret-injector/templates/certificate-gen/job-certificate-gen.yaml diff --git a/helm/imagepullsecret-injector/templates/certificate-gen/rbac-certificate-gen.yaml b/charts/imagepullsecret-injector/templates/certificate-gen/rbac-certificate-gen.yaml similarity index 100% rename from helm/imagepullsecret-injector/templates/certificate-gen/rbac-certificate-gen.yaml rename to charts/imagepullsecret-injector/templates/certificate-gen/rbac-certificate-gen.yaml diff --git a/helm/imagepullsecret-injector/templates/cm.yaml b/charts/imagepullsecret-injector/templates/cm.yaml similarity index 100% rename from helm/imagepullsecret-injector/templates/cm.yaml rename to charts/imagepullsecret-injector/templates/cm.yaml diff --git a/helm/imagepullsecret-injector/templates/deployment.yaml b/charts/imagepullsecret-injector/templates/deployment.yaml similarity index 100% rename from helm/imagepullsecret-injector/templates/deployment.yaml rename to charts/imagepullsecret-injector/templates/deployment.yaml diff --git a/helm/imagepullsecret-injector/templates/mutatingwebhook.yaml b/charts/imagepullsecret-injector/templates/mutatingwebhook.yaml similarity index 100% rename from helm/imagepullsecret-injector/templates/mutatingwebhook.yaml rename to charts/imagepullsecret-injector/templates/mutatingwebhook.yaml diff --git a/helm/imagepullsecret-injector/templates/rbac.yaml b/charts/imagepullsecret-injector/templates/rbac.yaml similarity index 100% rename from helm/imagepullsecret-injector/templates/rbac.yaml rename to charts/imagepullsecret-injector/templates/rbac.yaml diff --git a/helm/imagepullsecret-injector/templates/service.yaml b/charts/imagepullsecret-injector/templates/service.yaml similarity index 100% rename from helm/imagepullsecret-injector/templates/service.yaml rename to charts/imagepullsecret-injector/templates/service.yaml diff --git a/helm/imagepullsecret-injector/values.yaml b/charts/imagepullsecret-injector/values.yaml similarity index 100% rename from helm/imagepullsecret-injector/values.yaml rename to charts/imagepullsecret-injector/values.yaml