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 }}
|
repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }}
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: chart
|
path: chart
|
||||||
|
{{- if eq $org "arcodange" }}
|
||||||
|
usernameSecret:
|
||||||
|
name: gitea-credentials
|
||||||
|
key: username
|
||||||
|
passwordSecret:
|
||||||
|
name: gitea-credentials
|
||||||
|
key: password
|
||||||
|
{{- end }}
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: {{ $app_name }}
|
namespace: {{ $app_name }}
|
||||||
@@ -56,6 +64,14 @@ spec:
|
|||||||
repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }}
|
repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }}
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: chart
|
path: chart
|
||||||
|
{{- if eq $org "arcodange" }}
|
||||||
|
usernameSecret:
|
||||||
|
name: gitea-credentials
|
||||||
|
key: username
|
||||||
|
passwordSecret:
|
||||||
|
name: gitea-credentials
|
||||||
|
key: password
|
||||||
|
{{- end }}
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- values.yaml
|
- values.yaml
|
||||||
@@ -74,4 +90,4 @@ spec:
|
|||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user