From 26d540c8242176bbd4efe9bcb57cb596c3422bc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Mon, 26 May 2025 19:54:51 +0000
Subject: [PATCH] Support special characters in passwords for Nexus Repository
 users

---
 common/playbooks/templates/nexus/user-binder.yaml           | 2 +-
 common/playbooks/templates/nexus/user-notebooks-reader.yaml | 2 +-
 common/playbooks/templates/nexus/user-notebooks-writer.yaml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/playbooks/templates/nexus/user-binder.yaml b/common/playbooks/templates/nexus/user-binder.yaml
index 032c8fd..42d6a03 100644
--- a/common/playbooks/templates/nexus/user-binder.yaml
+++ b/common/playbooks/templates/nexus/user-binder.yaml
@@ -3,7 +3,7 @@ userId: binder
 firstName: Jupyter Binder
 lastName: Writer
 emailAddress: binder@{{ registry_binder_hostname }}
-password: {{ secrets['binder'] }}
+password: "{{ secrets['binder'] }}"
 status: active
 roles:
  - binder
diff --git a/common/playbooks/templates/nexus/user-notebooks-reader.yaml b/common/playbooks/templates/nexus/user-notebooks-reader.yaml
index 0329bc0..a5fd559 100644
--- a/common/playbooks/templates/nexus/user-notebooks-reader.yaml
+++ b/common/playbooks/templates/nexus/user-notebooks-reader.yaml
@@ -3,7 +3,7 @@ userId: notebooks-reader
 firstName: Jupyter Notebooks
 lastName: Reader
 emailAddress: notebooks-reader@{{ registry_notebooks_hostname }}
-password: {{ secrets['notebooks-reader'] }}
+password: "{{ secrets['notebooks-reader'] }}"
 status: active
 roles:
  - {{ nexus_repository_notebooks_name }}-read
diff --git a/common/playbooks/templates/nexus/user-notebooks-writer.yaml b/common/playbooks/templates/nexus/user-notebooks-writer.yaml
index 40c3fc0..362db6d 100644
--- a/common/playbooks/templates/nexus/user-notebooks-writer.yaml
+++ b/common/playbooks/templates/nexus/user-notebooks-writer.yaml
@@ -3,7 +3,7 @@ userId: notebooks-writer
 firstName: Jupyter Notebooks
 lastName: Writer
 emailAddress: notebooks-writer@{{ registry_notebooks_hostname }}
-password: {{ secrets['notebooks-writer'] }}
+password: "{{ secrets['notebooks-writer'] }}"
 status: active
 roles:
  - {{ nexus_repository_notebooks_name }}-write
-- 
GitLab