From a6f7bc075758f3e0dccc6b618ebab6fcd91817e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cs=C3=B3ti=20Istv=C3=A1n?= <109945490+csotiistvan@users.noreply.github.com> Date: Wed, 3 Jul 2024 14:45:24 +0200 Subject: [PATCH] Update chart relese workflow, relocate charts --- .github/workflows/helm-release.yml | 10 ++++------ {k8s/helm => charts}/tngkds/.helmignore | 0 {k8s/helm => charts}/tngkds/Chart.yaml | 0 {k8s/helm => charts}/tngkds/README.md | 0 {k8s/helm => charts}/tngkds/templates/_helpers.tpl | 0 {k8s/helm => charts}/tngkds/templates/deployment.yaml | 0 .../tngkds/templates/did-signer-secret.yaml | 0 {k8s/helm => charts}/tngkds/templates/mtls-secret.yaml | 0 {k8s/helm => charts}/tngkds/templates/service.yaml | 0 .../tngkds/templates/tng-distribution-pull-secret.yaml | 0 .../tngkds/templates/truststore-secret.yaml | 0 {k8s/helm => charts}/tngkds/values-local.yaml | 0 {k8s/helm => charts}/tngkds/values.yaml | 0 13 files changed, 4 insertions(+), 6 deletions(-) rename {k8s/helm => charts}/tngkds/.helmignore (100%) rename {k8s/helm => charts}/tngkds/Chart.yaml (100%) rename {k8s/helm => charts}/tngkds/README.md (100%) rename {k8s/helm => charts}/tngkds/templates/_helpers.tpl (100%) rename {k8s/helm => charts}/tngkds/templates/deployment.yaml (100%) rename {k8s/helm => charts}/tngkds/templates/did-signer-secret.yaml (100%) rename {k8s/helm => charts}/tngkds/templates/mtls-secret.yaml (100%) rename {k8s/helm => charts}/tngkds/templates/service.yaml (100%) rename {k8s/helm => charts}/tngkds/templates/tng-distribution-pull-secret.yaml (100%) rename {k8s/helm => charts}/tngkds/templates/truststore-secret.yaml (100%) rename {k8s/helm => charts}/tngkds/values-local.yaml (100%) rename {k8s/helm => charts}/tngkds/values.yaml (100%) diff --git a/.github/workflows/helm-release.yml b/.github/workflows/helm-release.yml index 4d11e42..93848c9 100644 --- a/.github/workflows/helm-release.yml +++ b/.github/workflows/helm-release.yml @@ -1,9 +1,9 @@ name: Release Charts on: - release: - types: - - created + push: + branches: + - main workflow_dispatch: # This allows the workflow to be triggered manually jobs: @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -22,7 +22,5 @@ jobs: - name: Run chart-releaser uses: helm/chart-releaser-action@v1.6.0 - with: - charts_dir: "k8s/helm/tngkds" # Specify the path to your charts directory env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/k8s/helm/tngkds/.helmignore b/charts/tngkds/.helmignore similarity index 100% rename from k8s/helm/tngkds/.helmignore rename to charts/tngkds/.helmignore diff --git a/k8s/helm/tngkds/Chart.yaml b/charts/tngkds/Chart.yaml similarity index 100% rename from k8s/helm/tngkds/Chart.yaml rename to charts/tngkds/Chart.yaml diff --git a/k8s/helm/tngkds/README.md b/charts/tngkds/README.md similarity index 100% rename from k8s/helm/tngkds/README.md rename to charts/tngkds/README.md diff --git a/k8s/helm/tngkds/templates/_helpers.tpl b/charts/tngkds/templates/_helpers.tpl similarity index 100% rename from k8s/helm/tngkds/templates/_helpers.tpl rename to charts/tngkds/templates/_helpers.tpl diff --git a/k8s/helm/tngkds/templates/deployment.yaml b/charts/tngkds/templates/deployment.yaml similarity index 100% rename from k8s/helm/tngkds/templates/deployment.yaml rename to charts/tngkds/templates/deployment.yaml diff --git a/k8s/helm/tngkds/templates/did-signer-secret.yaml b/charts/tngkds/templates/did-signer-secret.yaml similarity index 100% rename from k8s/helm/tngkds/templates/did-signer-secret.yaml rename to charts/tngkds/templates/did-signer-secret.yaml diff --git a/k8s/helm/tngkds/templates/mtls-secret.yaml b/charts/tngkds/templates/mtls-secret.yaml similarity index 100% rename from k8s/helm/tngkds/templates/mtls-secret.yaml rename to charts/tngkds/templates/mtls-secret.yaml diff --git a/k8s/helm/tngkds/templates/service.yaml b/charts/tngkds/templates/service.yaml similarity index 100% rename from k8s/helm/tngkds/templates/service.yaml rename to charts/tngkds/templates/service.yaml diff --git a/k8s/helm/tngkds/templates/tng-distribution-pull-secret.yaml b/charts/tngkds/templates/tng-distribution-pull-secret.yaml similarity index 100% rename from k8s/helm/tngkds/templates/tng-distribution-pull-secret.yaml rename to charts/tngkds/templates/tng-distribution-pull-secret.yaml diff --git a/k8s/helm/tngkds/templates/truststore-secret.yaml b/charts/tngkds/templates/truststore-secret.yaml similarity index 100% rename from k8s/helm/tngkds/templates/truststore-secret.yaml rename to charts/tngkds/templates/truststore-secret.yaml diff --git a/k8s/helm/tngkds/values-local.yaml b/charts/tngkds/values-local.yaml similarity index 100% rename from k8s/helm/tngkds/values-local.yaml rename to charts/tngkds/values-local.yaml diff --git a/k8s/helm/tngkds/values.yaml b/charts/tngkds/values.yaml similarity index 100% rename from k8s/helm/tngkds/values.yaml rename to charts/tngkds/values.yaml