fix argocd namespace name
This commit is contained in:
parent
a2f3587ce0
commit
d26086e2a7
3 changed files with 4 additions and 4 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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 }}"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue