diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c0752c9..a976daa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,13 +35,15 @@ jobs: - name: Run chart-testing (lint) if: steps.list-changed.outputs.changed == 'true' run: ct lint --target-branch ${{ github.event.repository.default_branch }} - - name: chart check - run: helm template render . - - name: Create kind cluster + - name: chart check if: steps.list-changed.outputs.changed == 'true' - uses: helm/kind-action@v1.10.0 + run: helm template render . | yamllint -- - - name: Run chart-testing (install) - if: steps.list-changed.outputs.changed == 'true' - run: ct install --target-branch ${{ github.event.repository.default_branch }} \ No newline at end of file + # - name: Create kind cluster + # if: steps.list-changed.outputs.changed == 'true' + # uses: helm/kind-action@v1.10.0 + + # - name: Run chart-testing (install) + # if: steps.list-changed.outputs.changed == 'true' + # run: ct install --target-branch ${{ github.event.repository.default_branch }} \ No newline at end of file diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index 0ed5df4..7e6d7ac 100644 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -49,14 +49,3 @@ Selector labels app.kubernetes.io/name: {{ include "registry.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} {{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "registry.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "registry.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }}