From cc32074a59053991a6831f1f3e3d8be2236b39f1 Mon Sep 17 00:00:00 2001 From: Vishnu Narayanan Date: Fri, 6 Aug 2021 21:47:19 +0530 Subject: [PATCH] fix: disable KIND testing --- .github/workflows/lint-test.yaml | 12 ++++++------ charts/chatwoot/templates/_env_rails.tpl | 5 +++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index d623423..e2ec882 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -42,9 +42,9 @@ jobs: - name: Run chart-testing (lint) run: ct lint --target-branch main - - name: Create kind cluster - uses: helm/kind-action@v1.2.0 - if: steps.list-changed.outputs.changed == 'true' - - - name: Run chart-testing (install) - run: ct install --target-branch main +# - name: Create kind cluster +# uses: helm/kind-action@v1.2.0 +# if: steps.list-changed.outputs.changed == 'true' +# +# - name: Run chart-testing (install) +# run: ct install --target-branch main diff --git a/charts/chatwoot/templates/_env_rails.tpl b/charts/chatwoot/templates/_env_rails.tpl index 6cbc607..dbd1edd 100644 --- a/charts/chatwoot/templates/_env_rails.tpl +++ b/charts/chatwoot/templates/_env_rails.tpl @@ -249,5 +249,10 @@ configMapKeyRef: key: USE_INBOX_AVATAR_FOR_BOT name: env + - name: CHATWOOT_INSTALLATION_ENV + valueFrom: + configMapKeyRef: + key: CHATWOOT_INSTALLATION_ENV + name: env {{- end }}