diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 446be1b5..559369c4 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -32,6 +32,7 @@ jobs: - name: Helm Lint run: | helm lint ${CHART_NAME} + helm lint ${CHART_NAME} -f ${CHART_NAME}/values-test.yaml - name: Run Checkov action uses: bridgecrewio/checkov-action@master diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 1e355410..68e6d12d 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -38,6 +38,7 @@ jobs: - name: Helm Lint run: | helm lint ${CHART_NAME} + helm lint ${CHART_NAME} -f ${CHART_NAME}/values-test.yaml - name: Install kubectl uses: azure/setup-kubectl@v3 diff --git a/application/templates/ingress.yaml b/application/templates/ingress.yaml index bef3de8c..075147dd 100644 --- a/application/templates/ingress.yaml +++ b/application/templates/ingress.yaml @@ -1,8 +1,8 @@ {{- if (.Values.ingress).enabled -}} ---- {{- $servicePort := .Values.ingress.servicePort -}} {{- $pathType := .Values.ingress.pathType -}} {{- $applicationNameTpl := include "application.name" . -}} +--- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: