Skip to content

Commit 9c6b60a

Browse files
authored
Merge pull request #26 from datum-cloud/fix/backstage-namespace-component
fix: move Namespace out of base into opt-in component
2 parents 7fc012f + dedf658 commit 9c6b60a

4 files changed

Lines changed: 8 additions & 1 deletion

File tree

config/base/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

44
resources:
5-
- namespace.yaml
65
- serviceaccount.yaml
76
- service.yaml
87
- deployment.yaml
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1alpha1
2+
kind: Component
3+
4+
resources:
5+
- namespace.yaml
File renamed without changes.

config/overlays/e2e/kustomization.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ namespace: backstage
66
resources:
77
- ../../base
88

9+
components:
10+
- ../../components/namespace
11+
912
images:
1013
- name: ghcr.io/datum-cloud/backstage
1114
newName: backstage

0 commit comments

Comments
 (0)