From 952aec95f7f5888239463607f88baf17544f3d73 Mon Sep 17 00:00:00 2001 From: mehdi-ra Date: Mon, 24 Jul 2023 17:40:12 +0330 Subject: [PATCH] refactor(generic): moved generic files to root / --- .github/workflows/release.yaml | 2 +- {charts/generic => generic}/.helmignore | 0 {charts/generic => generic}/Chart.yaml | 4 ++-- {charts/generic => generic}/templates/_helpers.tpl | 0 {charts/generic => generic}/templates/alertmanagerconfig.yaml | 0 {charts/generic => generic}/templates/certificate.yaml | 0 {charts/generic => generic}/templates/configmap.yaml | 0 {charts/generic => generic}/templates/cronjob.yaml | 0 {charts/generic => generic}/templates/deployment.yaml | 0 {charts/generic => generic}/templates/endpointmonitor.yaml | 0 {charts/generic => generic}/templates/externalsecrets.yaml | 0 {charts/generic => generic}/templates/forecastle.yaml | 0 {charts/generic => generic}/templates/grafanadashboard.yaml | 0 {charts/generic => generic}/templates/hpa.yaml | 0 {charts/generic => generic}/templates/ingress.yaml | 0 {charts/generic => generic}/templates/networkpolicy.yaml | 0 {charts/generic => generic}/templates/pdb.yaml | 0 {charts/generic => generic}/templates/prometheusrule.yaml | 0 {charts/generic => generic}/templates/pvc.yaml | 0 {charts/generic => generic}/templates/role.yaml | 0 {charts/generic => generic}/templates/rolebinding.yaml | 0 {charts/generic => generic}/templates/route.yaml | 0 {charts/generic => generic}/templates/sealedsecrets.yaml | 0 {charts/generic => generic}/templates/secret.yaml | 0 .../generic => generic}/templates/secretproviderclass.yaml | 0 {charts/generic => generic}/templates/service.yaml | 0 {charts/generic => generic}/templates/serviceaccount.yaml | 0 {charts/generic => generic}/templates/servicemonitor.yaml | 0 {charts/generic => generic}/templates/vpa.yaml | 0 {charts/generic => generic}/tests/cronjob_test.yaml | 0 {charts/generic => generic}/tests/deployment_test.yaml | 0 {charts/generic => generic}/tests/hpa_test.yaml | 0 {charts/generic => generic}/tests/pdb_test.yaml | 0 {charts/generic => generic}/tests/pvc_test.yaml | 0 {charts/generic => generic}/tests/serviceaccount_test.yaml | 0 {charts/generic => generic}/values.yaml | 0 36 files changed, 3 insertions(+), 3 deletions(-) rename {charts/generic => generic}/.helmignore (100%) rename {charts/generic => generic}/Chart.yaml (85%) rename {charts/generic => generic}/templates/_helpers.tpl (100%) rename {charts/generic => generic}/templates/alertmanagerconfig.yaml (100%) rename {charts/generic => generic}/templates/certificate.yaml (100%) rename {charts/generic => generic}/templates/configmap.yaml (100%) rename {charts/generic => generic}/templates/cronjob.yaml (100%) rename {charts/generic => generic}/templates/deployment.yaml (100%) rename {charts/generic => generic}/templates/endpointmonitor.yaml (100%) rename {charts/generic => generic}/templates/externalsecrets.yaml (100%) rename {charts/generic => generic}/templates/forecastle.yaml (100%) rename {charts/generic => generic}/templates/grafanadashboard.yaml (100%) rename {charts/generic => generic}/templates/hpa.yaml (100%) rename {charts/generic => generic}/templates/ingress.yaml (100%) rename {charts/generic => generic}/templates/networkpolicy.yaml (100%) rename {charts/generic => generic}/templates/pdb.yaml (100%) rename {charts/generic => generic}/templates/prometheusrule.yaml (100%) rename {charts/generic => generic}/templates/pvc.yaml (100%) rename {charts/generic => generic}/templates/role.yaml (100%) rename {charts/generic => generic}/templates/rolebinding.yaml (100%) rename {charts/generic => generic}/templates/route.yaml (100%) rename {charts/generic => generic}/templates/sealedsecrets.yaml (100%) rename {charts/generic => generic}/templates/secret.yaml (100%) rename {charts/generic => generic}/templates/secretproviderclass.yaml (100%) rename {charts/generic => generic}/templates/service.yaml (100%) rename {charts/generic => generic}/templates/serviceaccount.yaml (100%) rename {charts/generic => generic}/templates/servicemonitor.yaml (100%) rename {charts/generic => generic}/templates/vpa.yaml (100%) rename {charts/generic => generic}/tests/cronjob_test.yaml (100%) rename {charts/generic => generic}/tests/deployment_test.yaml (100%) rename {charts/generic => generic}/tests/hpa_test.yaml (100%) rename {charts/generic => generic}/tests/pdb_test.yaml (100%) rename {charts/generic => generic}/tests/pvc_test.yaml (100%) rename {charts/generic => generic}/tests/serviceaccount_test.yaml (100%) rename {charts/generic => generic}/values.yaml (100%) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cd168f2..2c2d9db 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,6 +36,6 @@ jobs: - name: Run chart-releaser uses: helm/chart-releaser-action@v1.4.0 with: - charts_dir: charts + charts_dir: . env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/charts/generic/.helmignore b/generic/.helmignore similarity index 100% rename from charts/generic/.helmignore rename to generic/.helmignore diff --git a/charts/generic/Chart.yaml b/generic/Chart.yaml similarity index 85% rename from charts/generic/Chart.yaml rename to generic/Chart.yaml index 2b4da0a..40b6a16 100755 --- a/charts/generic/Chart.yaml +++ b/generic/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -name: helm-generic +name: generic description: Generic helm chart for all kind of applications type: application @@ -13,7 +13,7 @@ keywords: - stakater - application -home: https://github.com/stakater/application +home: https://github.com/devopshobbies/helm-generic maintainers: - name: Ahmad Ali Bagheri email: ahmad@devopshobbies.com diff --git a/charts/generic/templates/_helpers.tpl b/generic/templates/_helpers.tpl similarity index 100% rename from charts/generic/templates/_helpers.tpl rename to generic/templates/_helpers.tpl diff --git a/charts/generic/templates/alertmanagerconfig.yaml b/generic/templates/alertmanagerconfig.yaml similarity index 100% rename from charts/generic/templates/alertmanagerconfig.yaml rename to generic/templates/alertmanagerconfig.yaml diff --git a/charts/generic/templates/certificate.yaml b/generic/templates/certificate.yaml similarity index 100% rename from charts/generic/templates/certificate.yaml rename to generic/templates/certificate.yaml diff --git a/charts/generic/templates/configmap.yaml b/generic/templates/configmap.yaml similarity index 100% rename from charts/generic/templates/configmap.yaml rename to generic/templates/configmap.yaml diff --git a/charts/generic/templates/cronjob.yaml b/generic/templates/cronjob.yaml similarity index 100% rename from charts/generic/templates/cronjob.yaml rename to generic/templates/cronjob.yaml diff --git a/charts/generic/templates/deployment.yaml b/generic/templates/deployment.yaml similarity index 100% rename from charts/generic/templates/deployment.yaml rename to generic/templates/deployment.yaml diff --git a/charts/generic/templates/endpointmonitor.yaml b/generic/templates/endpointmonitor.yaml similarity index 100% rename from charts/generic/templates/endpointmonitor.yaml rename to generic/templates/endpointmonitor.yaml diff --git a/charts/generic/templates/externalsecrets.yaml b/generic/templates/externalsecrets.yaml similarity index 100% rename from charts/generic/templates/externalsecrets.yaml rename to generic/templates/externalsecrets.yaml diff --git a/charts/generic/templates/forecastle.yaml b/generic/templates/forecastle.yaml similarity index 100% rename from charts/generic/templates/forecastle.yaml rename to generic/templates/forecastle.yaml diff --git a/charts/generic/templates/grafanadashboard.yaml b/generic/templates/grafanadashboard.yaml similarity index 100% rename from charts/generic/templates/grafanadashboard.yaml rename to generic/templates/grafanadashboard.yaml diff --git a/charts/generic/templates/hpa.yaml b/generic/templates/hpa.yaml similarity index 100% rename from charts/generic/templates/hpa.yaml rename to generic/templates/hpa.yaml diff --git a/charts/generic/templates/ingress.yaml b/generic/templates/ingress.yaml similarity index 100% rename from charts/generic/templates/ingress.yaml rename to generic/templates/ingress.yaml diff --git a/charts/generic/templates/networkpolicy.yaml b/generic/templates/networkpolicy.yaml similarity index 100% rename from charts/generic/templates/networkpolicy.yaml rename to generic/templates/networkpolicy.yaml diff --git a/charts/generic/templates/pdb.yaml b/generic/templates/pdb.yaml similarity index 100% rename from charts/generic/templates/pdb.yaml rename to generic/templates/pdb.yaml diff --git a/charts/generic/templates/prometheusrule.yaml b/generic/templates/prometheusrule.yaml similarity index 100% rename from charts/generic/templates/prometheusrule.yaml rename to generic/templates/prometheusrule.yaml diff --git a/charts/generic/templates/pvc.yaml b/generic/templates/pvc.yaml similarity index 100% rename from charts/generic/templates/pvc.yaml rename to generic/templates/pvc.yaml diff --git a/charts/generic/templates/role.yaml b/generic/templates/role.yaml similarity index 100% rename from charts/generic/templates/role.yaml rename to generic/templates/role.yaml diff --git a/charts/generic/templates/rolebinding.yaml b/generic/templates/rolebinding.yaml similarity index 100% rename from charts/generic/templates/rolebinding.yaml rename to generic/templates/rolebinding.yaml diff --git a/charts/generic/templates/route.yaml b/generic/templates/route.yaml similarity index 100% rename from charts/generic/templates/route.yaml rename to generic/templates/route.yaml diff --git a/charts/generic/templates/sealedsecrets.yaml b/generic/templates/sealedsecrets.yaml similarity index 100% rename from charts/generic/templates/sealedsecrets.yaml rename to generic/templates/sealedsecrets.yaml diff --git a/charts/generic/templates/secret.yaml b/generic/templates/secret.yaml similarity index 100% rename from charts/generic/templates/secret.yaml rename to generic/templates/secret.yaml diff --git a/charts/generic/templates/secretproviderclass.yaml b/generic/templates/secretproviderclass.yaml similarity index 100% rename from charts/generic/templates/secretproviderclass.yaml rename to generic/templates/secretproviderclass.yaml diff --git a/charts/generic/templates/service.yaml b/generic/templates/service.yaml similarity index 100% rename from charts/generic/templates/service.yaml rename to generic/templates/service.yaml diff --git a/charts/generic/templates/serviceaccount.yaml b/generic/templates/serviceaccount.yaml similarity index 100% rename from charts/generic/templates/serviceaccount.yaml rename to generic/templates/serviceaccount.yaml diff --git a/charts/generic/templates/servicemonitor.yaml b/generic/templates/servicemonitor.yaml similarity index 100% rename from charts/generic/templates/servicemonitor.yaml rename to generic/templates/servicemonitor.yaml diff --git a/charts/generic/templates/vpa.yaml b/generic/templates/vpa.yaml similarity index 100% rename from charts/generic/templates/vpa.yaml rename to generic/templates/vpa.yaml diff --git a/charts/generic/tests/cronjob_test.yaml b/generic/tests/cronjob_test.yaml similarity index 100% rename from charts/generic/tests/cronjob_test.yaml rename to generic/tests/cronjob_test.yaml diff --git a/charts/generic/tests/deployment_test.yaml b/generic/tests/deployment_test.yaml similarity index 100% rename from charts/generic/tests/deployment_test.yaml rename to generic/tests/deployment_test.yaml diff --git a/charts/generic/tests/hpa_test.yaml b/generic/tests/hpa_test.yaml similarity index 100% rename from charts/generic/tests/hpa_test.yaml rename to generic/tests/hpa_test.yaml diff --git a/charts/generic/tests/pdb_test.yaml b/generic/tests/pdb_test.yaml similarity index 100% rename from charts/generic/tests/pdb_test.yaml rename to generic/tests/pdb_test.yaml diff --git a/charts/generic/tests/pvc_test.yaml b/generic/tests/pvc_test.yaml similarity index 100% rename from charts/generic/tests/pvc_test.yaml rename to generic/tests/pvc_test.yaml diff --git a/charts/generic/tests/serviceaccount_test.yaml b/generic/tests/serviceaccount_test.yaml similarity index 100% rename from charts/generic/tests/serviceaccount_test.yaml rename to generic/tests/serviceaccount_test.yaml diff --git a/charts/generic/values.yaml b/generic/values.yaml similarity index 100% rename from charts/generic/values.yaml rename to generic/values.yaml