Skip to content

Commit 682f966

Browse files
committed
Setup namespace in argo so no loop in kustomization file
1 parent f166ffd commit 682f966

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

apps/api/argo/prod_application.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ spec:
1212
destination:
1313
server: https://kubernetes.default.svc
1414
namespace: apps--mc-api
15+
---
16+
apiVersion: v1
17+
kind: Namespace
18+
metadata:
19+
name: apps--mc-api

apps/api/argo/stage_application.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ spec:
1212
destination:
1313
server: https://kubernetes.default.svc
1414
namespace: stage--apps--mc-api
15+
---
16+
apiVersion: v1
17+
kind: Namespace
18+
metadata:
19+
name: stage--apps--mc-api

apps/api/environments/prod/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ images:
77
resources:
88
- fastly-api_sealedsecret.yaml
99
- prod_sealedsecret.yaml
10-
- namespace.yaml
1110
- ingress.yaml
1211
- ../../base/

apps/api/environments/prod/namespace.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

apps/api/environments/stage/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ bases:
66
resources:
77
- stage_sealedsecret.yaml
88
- ingress.yaml
9-
- namespace.yaml
109
images:
1110
- name: docker.io/metacpan/metacpan-api
1211
newTag: 6796747a21beb1feeed5bb7cc8f52b581299c918

apps/api/environments/stage/namespace.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)