From cbd796ec91a930ecffb3e6c8fe51adb24c3f079a Mon Sep 17 00:00:00 2001 From: Andrey Kartashov Date: Fri, 15 Nov 2019 20:15:04 +0700 Subject: [PATCH] create namespaces before other resources --- apps/argocd/namespace.yaml | 2 ++ apps/system/cert-manager/templates/namespace.yaml | 2 ++ apps/system/nginx-ingress/templates/namespace.yaml | 2 ++ apps/system/oauth2-proxy/templates/namespace.yaml | 2 ++ apps/system/prometheus-operator/templates/namespace.yaml | 2 ++ apps/system/sealed-secrets/namespace.yaml | 2 ++ 6 files changed, 12 insertions(+) diff --git a/apps/argocd/namespace.yaml b/apps/argocd/namespace.yaml index a040f2b..6dfed4a 100644 --- a/apps/argocd/namespace.yaml +++ b/apps/argocd/namespace.yaml @@ -2,3 +2,5 @@ apiVersion: v1 kind: Namespace metadata: name: argocd + annotations: + argocd.argoproj.io/sync-wave: "-1" diff --git a/apps/system/cert-manager/templates/namespace.yaml b/apps/system/cert-manager/templates/namespace.yaml index c90416f..754d6c3 100644 --- a/apps/system/cert-manager/templates/namespace.yaml +++ b/apps/system/cert-manager/templates/namespace.yaml @@ -2,3 +2,5 @@ apiVersion: v1 kind: Namespace metadata: name: cert-manager + annotations: + argocd.argoproj.io/sync-wave: "-1" diff --git a/apps/system/nginx-ingress/templates/namespace.yaml b/apps/system/nginx-ingress/templates/namespace.yaml index 4b60fec..3292648 100644 --- a/apps/system/nginx-ingress/templates/namespace.yaml +++ b/apps/system/nginx-ingress/templates/namespace.yaml @@ -2,3 +2,5 @@ apiVersion: v1 kind: Namespace metadata: name: nginx-ingress + annotations: + argocd.argoproj.io/sync-wave: "-1" diff --git a/apps/system/oauth2-proxy/templates/namespace.yaml b/apps/system/oauth2-proxy/templates/namespace.yaml index ded8ae8..e42b667 100644 --- a/apps/system/oauth2-proxy/templates/namespace.yaml +++ b/apps/system/oauth2-proxy/templates/namespace.yaml @@ -2,3 +2,5 @@ apiVersion: v1 kind: Namespace metadata: name: oauth2-proxy + annotations: + argocd.argoproj.io/sync-wave: "-1" diff --git a/apps/system/prometheus-operator/templates/namespace.yaml b/apps/system/prometheus-operator/templates/namespace.yaml index a586749..8c675c6 100644 --- a/apps/system/prometheus-operator/templates/namespace.yaml +++ b/apps/system/prometheus-operator/templates/namespace.yaml @@ -2,3 +2,5 @@ apiVersion: v1 kind: Namespace metadata: name: prometheus-operator + annotations: + argocd.argoproj.io/sync-wave: "-1" diff --git a/apps/system/sealed-secrets/namespace.yaml b/apps/system/sealed-secrets/namespace.yaml index f105649..9d2c6a8 100644 --- a/apps/system/sealed-secrets/namespace.yaml +++ b/apps/system/sealed-secrets/namespace.yaml @@ -2,3 +2,5 @@ apiVersion: v1 kind: Namespace metadata: name: sealedsecrets + annotations: + argocd.argoproj.io/sync-wave: "-1"