From 566077ac70ebc30a17e97cb241267d411550797c Mon Sep 17 00:00:00 2001 From: Carsten Stukenborg Date: Thu, 23 Sep 2021 17:20:00 +0200 Subject: [PATCH 1/4] add charts_dir in release.yml & rm /charts --- .github/workflows/release.yml | 2 ++ chart/Chart.yaml | 2 +- charts/docker-hub-rate-limit-exporter | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) delete mode 120000 charts/docker-hub-rate-limit-exporter diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc333a1..0d8330d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,5 +26,7 @@ jobs: - name: Run chart-releaser uses: helm/chart-releaser-action@v1.1.0 + with: + charts_dir: chart env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/chart/Chart.yaml b/chart/Chart.yaml index e67dc5c..08ee940 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -16,7 +16,7 @@ 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. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.7 +version: 0.2.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/docker-hub-rate-limit-exporter b/charts/docker-hub-rate-limit-exporter deleted file mode 120000 index a8ede8f..0000000 --- a/charts/docker-hub-rate-limit-exporter +++ /dev/null @@ -1 +0,0 @@ -../chart \ No newline at end of file From 4a08d2bf1d9ca2ae8be2b8565c8549af2bfee240 Mon Sep 17 00:00:00 2001 From: Carsten Stukenborg Date: Thu, 23 Sep 2021 17:31:38 +0200 Subject: [PATCH 2/4] move chart files to /charts/docker-hub-rate-limit-exporter --- .github/workflows/release.yml | 2 +- .../Chart.yaml | 0 .../docker-hub-rate-limit-exporter-chart}/README.md | 0 .../docker-hub-rate-limit-exporter-chart}/icon.png | Bin .../templates/_helpers.tpl | 0 .../templates/configmap.yaml | 0 .../templates/deployment.yaml | 0 .../templates/secret.yaml | 0 .../templates/service.yaml | 0 .../templates/serviceaccount.yaml | 0 .../templates/servicemonitor.yaml | 0 .../values.yaml | 0 12 files changed, 1 insertion(+), 1 deletion(-) rename {chart => charts/docker-hub-rate-limit-exporter-chart}/Chart.yaml (100%) rename {chart => charts/docker-hub-rate-limit-exporter-chart}/README.md (100%) rename {chart => charts/docker-hub-rate-limit-exporter-chart}/icon.png (100%) rename {chart => charts/docker-hub-rate-limit-exporter-chart}/templates/_helpers.tpl (100%) rename {chart => charts/docker-hub-rate-limit-exporter-chart}/templates/configmap.yaml (100%) rename {chart => charts/docker-hub-rate-limit-exporter-chart}/templates/deployment.yaml (100%) rename {chart => charts/docker-hub-rate-limit-exporter-chart}/templates/secret.yaml (100%) rename {chart => charts/docker-hub-rate-limit-exporter-chart}/templates/service.yaml (100%) rename {chart => charts/docker-hub-rate-limit-exporter-chart}/templates/serviceaccount.yaml (100%) rename {chart => charts/docker-hub-rate-limit-exporter-chart}/templates/servicemonitor.yaml (100%) mode change 100755 => 100644 rename {chart => charts/docker-hub-rate-limit-exporter-chart}/values.yaml (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d8330d..a977d01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,6 @@ jobs: - name: Run chart-releaser uses: helm/chart-releaser-action@v1.1.0 with: - charts_dir: chart + charts_dir: charts env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/chart/Chart.yaml b/charts/docker-hub-rate-limit-exporter-chart/Chart.yaml similarity index 100% rename from chart/Chart.yaml rename to charts/docker-hub-rate-limit-exporter-chart/Chart.yaml diff --git a/chart/README.md b/charts/docker-hub-rate-limit-exporter-chart/README.md similarity index 100% rename from chart/README.md rename to charts/docker-hub-rate-limit-exporter-chart/README.md diff --git a/chart/icon.png b/charts/docker-hub-rate-limit-exporter-chart/icon.png similarity index 100% rename from chart/icon.png rename to charts/docker-hub-rate-limit-exporter-chart/icon.png diff --git a/chart/templates/_helpers.tpl b/charts/docker-hub-rate-limit-exporter-chart/templates/_helpers.tpl similarity index 100% rename from chart/templates/_helpers.tpl rename to charts/docker-hub-rate-limit-exporter-chart/templates/_helpers.tpl diff --git a/chart/templates/configmap.yaml b/charts/docker-hub-rate-limit-exporter-chart/templates/configmap.yaml similarity index 100% rename from chart/templates/configmap.yaml rename to charts/docker-hub-rate-limit-exporter-chart/templates/configmap.yaml diff --git a/chart/templates/deployment.yaml b/charts/docker-hub-rate-limit-exporter-chart/templates/deployment.yaml similarity index 100% rename from chart/templates/deployment.yaml rename to charts/docker-hub-rate-limit-exporter-chart/templates/deployment.yaml diff --git a/chart/templates/secret.yaml b/charts/docker-hub-rate-limit-exporter-chart/templates/secret.yaml similarity index 100% rename from chart/templates/secret.yaml rename to charts/docker-hub-rate-limit-exporter-chart/templates/secret.yaml diff --git a/chart/templates/service.yaml b/charts/docker-hub-rate-limit-exporter-chart/templates/service.yaml similarity index 100% rename from chart/templates/service.yaml rename to charts/docker-hub-rate-limit-exporter-chart/templates/service.yaml diff --git a/chart/templates/serviceaccount.yaml b/charts/docker-hub-rate-limit-exporter-chart/templates/serviceaccount.yaml similarity index 100% rename from chart/templates/serviceaccount.yaml rename to charts/docker-hub-rate-limit-exporter-chart/templates/serviceaccount.yaml diff --git a/chart/templates/servicemonitor.yaml b/charts/docker-hub-rate-limit-exporter-chart/templates/servicemonitor.yaml old mode 100755 new mode 100644 similarity index 100% rename from chart/templates/servicemonitor.yaml rename to charts/docker-hub-rate-limit-exporter-chart/templates/servicemonitor.yaml diff --git a/chart/values.yaml b/charts/docker-hub-rate-limit-exporter-chart/values.yaml similarity index 100% rename from chart/values.yaml rename to charts/docker-hub-rate-limit-exporter-chart/values.yaml From c76f7f8c4c218664b2e1c94ced00cddcf5e3352a Mon Sep 17 00:00:00 2001 From: Carsten Stukenborg Date: Mon, 27 Sep 2021 16:17:10 +0200 Subject: [PATCH 3/4] add symlink chart to charts/docker-hub-rate-limit-exporter-chart --- chart | 1 + 1 file changed, 1 insertion(+) create mode 120000 chart diff --git a/chart b/chart new file mode 120000 index 0000000..35dccba --- /dev/null +++ b/chart @@ -0,0 +1 @@ +charts/docker-hub-rate-limit-exporter-chart \ No newline at end of file From 10538c7cd82a9c566adc866005ca713cbf41a2c2 Mon Sep 17 00:00:00 2001 From: Carsten Stukenborg Date: Mon, 27 Sep 2021 16:23:27 +0200 Subject: [PATCH 4/4] bump chart version to 0.2.8 --- charts/docker-hub-rate-limit-exporter-chart/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/docker-hub-rate-limit-exporter-chart/Chart.yaml b/charts/docker-hub-rate-limit-exporter-chart/Chart.yaml index 08ee940..ece2d3c 100644 --- a/charts/docker-hub-rate-limit-exporter-chart/Chart.yaml +++ b/charts/docker-hub-rate-limit-exporter-chart/Chart.yaml @@ -16,7 +16,7 @@ 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. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.6 +version: 0.2.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to