From b252d7ab1f174e4bea157f35c7500f2d14059429 Mon Sep 17 00:00:00 2001 From: James Callahan Date: Thu, 30 Apr 2020 21:15:50 +1000 Subject: [PATCH] Create namespace https://github.com/argoproj/argo-cd/issues/1809 --- argocd/kustomization.yaml | 1 + argocd/namespace.yaml | 4 ++++ example-book/kustomization.yaml | 1 + example-book/namespace.yaml | 4 ++++ 4 files changed, 10 insertions(+) create mode 100644 argocd/namespace.yaml create mode 100644 example-book/namespace.yaml diff --git a/argocd/kustomization.yaml b/argocd/kustomization.yaml index ae4a080..a684876 100644 --- a/argocd/kustomization.yaml +++ b/argocd/kustomization.yaml @@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: argocd resources: + - namespace.yaml # v1.5.2 - github.com/argoproj/argo-cd/manifests/cluster-install?ref=c2c19f42ad78ed7a6fb70e86aed117be484feb50 diff --git a/argocd/namespace.yaml b/argocd/namespace.yaml new file mode 100644 index 0000000..a040f2b --- /dev/null +++ b/argocd/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: argocd diff --git a/example-book/kustomization.yaml b/example-book/kustomization.yaml index 1328e93..18430d9 100644 --- a/example-book/kustomization.yaml +++ b/example-book/kustomization.yaml @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - namespace.yaml - github.com/argoproj/argocd-example-apps/kustomize-guestbook/?ref=6bed858de32a0e876ec49dad1a2e3c5840d3fb07 diff --git a/example-book/namespace.yaml b/example-book/namespace.yaml new file mode 100644 index 0000000..ecb7471 --- /dev/null +++ b/example-book/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: example-book