fix: remove explicit access token from helm-git urls (take 2)

This commit is contained in:
2025-06-22 09:47:42 +02:00
parent dc9e2f3ae0
commit 490e8d373f
5 changed files with 68 additions and 3 deletions
+5 -1
View File
@@ -3,7 +3,11 @@ bases:
repositories:
- name: oceanbox
url: "git+https://gitlab-ci:{{ requiredEnv "CI_JOB_TOKEN" }}@gitlab.com/oceanbox/manifests@charts?ref=main"
{{- if env "MANIFESTS_ACCESS_TOKEN" }}
url: "git+https://git:{{ requiredEnv "MANIFESTS_ACCESS_TOKEN" }}@gitlab.com/oceanbox/manifests@charts?ref=main"
{{- else }}
url: "git+https://gitlab.com/oceanbox/manifests@charts?ref=main"
{{- end }}
commonLabels:
tier: system