From fd03e5fe729df5feb1231a38c089147fc01aecd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Fri, 2 Jun 2023 15:59:12 +0200 Subject: [PATCH] wip --- infrastructure/templates/acs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/templates/acs.yaml b/infrastructure/templates/acs.yaml index b283ad5..f9afcef 100644 --- a/infrastructure/templates/acs.yaml +++ b/infrastructure/templates/acs.yaml @@ -167,7 +167,7 @@ data: export ROX_API_TOKEN=$(curl -s -k -u admin:$ROX_ADMIN_PASSWORD -H 'Content-Type: application/json' -X POST -d "$POLICY_JSON" "$APIURL" | jq -r '.token') oc create secret generic stackrox-api-token -n stackrox --from-literal=token="$ROX_API_TOKEN" else - export ROX_API_TOKEN="$(oc get secret stackrox-api-token -n stackrox -o go-template --template='{{.data.token|base64decode}}')" + export ROX_API_TOKEN="$(oc get secret stackrox-api-token -n stackrox -o go-template --template='{{ "{{" }}.data.token|base64decode}}')" fi echo "========================================================================"