From 69299738c8a8b47a8a7dde3e45561285f9a84f6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric?= <cedric3.olivier@orange.com>
Date: Thu, 24 Feb 2022 19:32:28 +0100
Subject: [PATCH] fix(vault): revert Vault JWT authentication not working

---
 templates/gitlab-ci-helm-vault.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/templates/gitlab-ci-helm-vault.yml b/templates/gitlab-ci-helm-vault.yml
index 266d973..571e67e 100644
--- a/templates/gitlab-ci-helm-vault.yml
+++ b/templates/gitlab-ci-helm-vault.yml
@@ -1,6 +1,10 @@
 # =====================================================================================================================
 # === Vault template variant
 # =====================================================================================================================
+variables:
+  # variables have to be explicitly declared in the YAML to be exported to the service
+  VAULT_ROLE_ID: "$VAULT_ROLE_ID"
+  VAULT_SECRET_ID: "$VAULT_SECRET_ID"
 
 .helm-base:
   services:
-- 
GitLab