1
0
Fork 0

fix argocd namespace name

This commit is contained in:
Seraphim Strub 2025-01-11 22:11:40 +00:00
parent a2f3587ce0
commit d26086e2a7
3 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ metadata:
annotations:
argocd.argoproj.io/sync-wave: "10"
name: {{ $key }}
namespace: {{ default "argocd-system" $.Values.argocdNamespace }}
namespace: {{ default "argocd" $.Values.argocdNamespace }}
spec:
destination:
namespace: {{ default $key $destinationNamespace }}

View file

@ -2,7 +2,7 @@ apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: {{ .Release.Name }}
namespace: {{ default "argocd-system" .Values.argocdNamespace}}
namespace: {{ default "argocd" .Values.argocdNamespace}}
spec:
sourceRepos:
- "{{ .Values.repository }}"

View file

@ -4,10 +4,10 @@ apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .name }}-apps
namespace: {{ default "argocd-system" $.Values.argocdNamespace }}
namespace: {{ default "argocd" $.Values.argocdNamespace }}
spec:
destination:
namespace: {{ default "argocd-system" $.Values.argocdNamespace }}
namespace: {{ default "argocd" $.Values.argocdNamespace }}
server: https://kubernetes.default.svc
project: default
source: