From bb212f24404d3cfad632c4e9d2ab7e137322669a Mon Sep 17 00:00:00 2001 From: Tom Webber Date: Tue, 14 May 2024 14:47:46 +0100 Subject: [PATCH] try json env var --- .github/workflows/deploy-workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-workflow.yml b/.github/workflows/deploy-workflow.yml index cb3f488..7b021a8 100644 --- a/.github/workflows/deploy-workflow.yml +++ b/.github/workflows/deploy-workflow.yml @@ -188,9 +188,9 @@ jobs: id: update-grafana-dashboards env: KUBE_NAMESPACE: ${{ secrets.kube_namespace }} - DASHBOARDS: ("datahub-status-dashboard" "datahub-deployment-dashboard") + DASHBOARDS: '["datahub-status-dashboard", "datahub-deployment-dashboard"]'' run: | - for DASHBOARD in ${DASHBOARDS} + for DASHBOARD in fromJSON(${DASHBOARDS}) do kubectl create configmap ${DASHBOARD} \ --from-file=helm_deploy/monitoring/datahub-dashboard.json \