diff --git a/charts/otomi-pipelines/templates/tekton-otomi-git-clone.yaml b/charts/otomi-pipelines/templates/tekton-otomi-git-clone.yaml index ce47f0a456..4008d6681d 100644 --- a/charts/otomi-pipelines/templates/tekton-otomi-git-clone.yaml +++ b/charts/otomi-pipelines/templates/tekton-otomi-git-clone.yaml @@ -48,7 +48,7 @@ spec: # Reading gitea credentials GITEA_USERNAME=$(cat /etc/gitea-credentials/username) - GITEA_PASSWORD=$(cat /etc/gitea-credentials/password) + GITEA_PASSWORD=$(cat /etc/gitea-credentials/password | jq -s -R -r @uri ) # Getting the full repository url export fullRepoUrl=$(params["repoUrl"]) diff --git a/charts/otomi-pipelines/templates/tekton-otomi-task-teams.yaml b/charts/otomi-pipelines/templates/tekton-otomi-task-teams.yaml index ee8f958df4..e1b626bb02 100644 --- a/charts/otomi-pipelines/templates/tekton-otomi-task-teams.yaml +++ b/charts/otomi-pipelines/templates/tekton-otomi-task-teams.yaml @@ -49,7 +49,7 @@ spec: git config --global --add safe.directory '*' # Reading gitea credentials GITEA_USERNAME=$(cat /etc/gitea-credentials/username) - GITEA_PASSWORD=$(cat /etc/gitea-credentials/password) + GITEA_PASSWORD=$(cat /etc/gitea-credentials/password | jq -s -R -r @uri ) # Parsing the repo url export fullRepoUrl=$(params["repoUrl"]) diff --git a/charts/otomi-pipelines/templates/tekton-otomi-task.yaml b/charts/otomi-pipelines/templates/tekton-otomi-task.yaml index 31b212f5ae..0eb693560f 100644 --- a/charts/otomi-pipelines/templates/tekton-otomi-task.yaml +++ b/charts/otomi-pipelines/templates/tekton-otomi-task.yaml @@ -49,7 +49,7 @@ spec: git config --global --add safe.directory '*' # Reading gitea credentials GITEA_USERNAME=$(cat /etc/gitea-credentials/username) - GITEA_PASSWORD=$(cat /etc/gitea-credentials/password) + GITEA_PASSWORD=$(cat /etc/gitea-credentials/password | jq -s -R -r @uri ) # Parsing the repo url export fullRepoUrl=$(params["repoUrl"])