diff --git a/apps-root-config/applications/templates/argo-application.yaml b/apps-root-config/applications/templates/argo-application.yaml index 90d5662..7e77a56 100644 --- a/apps-root-config/applications/templates/argo-application.yaml +++ b/apps-root-config/applications/templates/argo-application.yaml @@ -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 }} diff --git a/apps-root-config/applications/templates/argo-approject.yaml b/apps-root-config/applications/templates/argo-approject.yaml index a223820..989b8e1 100644 --- a/apps-root-config/applications/templates/argo-approject.yaml +++ b/apps-root-config/applications/templates/argo-approject.yaml @@ -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 }}" diff --git a/apps-root-config/bootstrap/templates/argo-application.yaml b/apps-root-config/bootstrap/templates/argo-application.yaml index c866fc6..e10fee0 100644 --- a/apps-root-config/bootstrap/templates/argo-application.yaml +++ b/apps-root-config/bootstrap/templates/argo-application.yaml @@ -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: