fix: ajouter credentials gitea pour repos privés
This commit is contained in:
@@ -18,6 +18,14 @@ spec:
|
||||
repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }}
|
||||
targetRevision: HEAD
|
||||
path: chart
|
||||
{{- if eq $org "arcodange" }}
|
||||
usernameSecret:
|
||||
name: gitea-credentials
|
||||
key: username
|
||||
passwordSecret:
|
||||
name: gitea-credentials
|
||||
key: password
|
||||
{{- end }}
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: {{ $app_name }}
|
||||
@@ -56,6 +64,14 @@ spec:
|
||||
repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }}
|
||||
targetRevision: HEAD
|
||||
path: chart
|
||||
{{- if eq $org "arcodange" }}
|
||||
usernameSecret:
|
||||
name: gitea-credentials
|
||||
key: username
|
||||
passwordSecret:
|
||||
name: gitea-credentials
|
||||
key: password
|
||||
{{- end }}
|
||||
helm:
|
||||
valueFiles:
|
||||
- values.yaml
|
||||
@@ -74,4 +90,4 @@ spec:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user