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

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

diff --git a/templates/gitlab-ci-docker-vault.yml b/templates/gitlab-ci-docker-vault.yml
index dc813f5..11cd0c4 100644
--- a/templates/gitlab-ci-docker-vault.yml
+++ b/templates/gitlab-ci-docker-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"
 
 .docker-base:
   services:
-- 
GitLab