From 64c14bc300c1c1e732599b929c3325aa398c6c66 Mon Sep 17 00:00:00 2001 From: aniketgohelimp <123355145+aniketgohelimp@users.noreply.github.com> Date: Wed, 29 Mar 2023 16:39:13 +0530 Subject: [PATCH] Fixed Relase CI and Polymorphic fixes (#28) * Fixing Release CI * Fixing Release CI * Fixing ingress error in polymorphic-chart --- .github/workflows/lint-test.yaml | 2 -- .github/workflows/release.yaml | 5 +++++ charts/polymorphic-app/Chart.yaml | 2 +- charts/polymorphic-app/templates/service.yaml | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index e368a6e..7fd3a50 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -19,8 +19,6 @@ jobs: - 1.22.9 - 1.23.6 - 1.24.0 - - 1.25.0 - - 1.26.0 steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5bf4448..129db8d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,6 +19,11 @@ jobs: run: | git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + + - name: Adding bitnamirepo + run: | + helm repo add bitnami https://charts.bitnami.com/bitnami + - name: Run chart-releaser uses: helm/chart-releaser-action@v1.2.0 env: diff --git a/charts/polymorphic-app/Chart.yaml b/charts/polymorphic-app/Chart.yaml index 04d4454..0327b20 100644 --- a/charts/polymorphic-app/Chart.yaml +++ b/charts/polymorphic-app/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. -version: 1.0.1 +version: 1.0.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/charts/polymorphic-app/templates/service.yaml b/charts/polymorphic-app/templates/service.yaml index 55a75e2..61e1616 100644 --- a/charts/polymorphic-app/templates/service.yaml +++ b/charts/polymorphic-app/templates/service.yaml @@ -208,9 +208,9 @@ spec: {{- if and .ingress (.ingress.enabled | default $.Values.serviceTemplate.ingress.enabled) }} - -{{- $fullName := printf "%s-%s-svc" $.Release.Name (.name | default $.Values.serviceTemplate.name) -}} --- +{{- $fullName := printf "%s-%s-svc" $.Release.Name (.name | default $.Values.serviceTemplate.name) -}} + apiVersion: {{ include "ingress.apiVersion" $ }} kind: Ingress metadata: