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:
|
annotations:
|
||||||
argocd.argoproj.io/sync-wave: "10"
|
argocd.argoproj.io/sync-wave: "10"
|
||||||
name: {{ $key }}
|
name: {{ $key }}
|
||||||
namespace: {{ default "argocd-system" $.Values.argocdNamespace }}
|
namespace: {{ default "argocd" $.Values.argocdNamespace }}
|
||||||
spec:
|
spec:
|
||||||
destination:
|
destination:
|
||||||
namespace: {{ default $key $destinationNamespace }}
|
namespace: {{ default $key $destinationNamespace }}
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: argoproj.io/v1alpha1
|
||||||
kind: AppProject
|
kind: AppProject
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}
|
name: {{ .Release.Name }}
|
||||||
namespace: {{ default "argocd-system" .Values.argocdNamespace}}
|
namespace: {{ default "argocd" .Values.argocdNamespace}}
|
||||||
spec:
|
spec:
|
||||||
sourceRepos:
|
sourceRepos:
|
||||||
- "{{ .Values.repository }}"
|
- "{{ .Values.repository }}"
|
||||||
|
|
|
@ -4,10 +4,10 @@ apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .name }}-apps
|
name: {{ .name }}-apps
|
||||||
namespace: {{ default "argocd-system" $.Values.argocdNamespace }}
|
namespace: {{ default "argocd" $.Values.argocdNamespace }}
|
||||||
spec:
|
spec:
|
||||||
destination:
|
destination:
|
||||||
namespace: {{ default "argocd-system" $.Values.argocdNamespace }}
|
namespace: {{ default "argocd" $.Values.argocdNamespace }}
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
|
|
Loading…
Reference in a new issue