Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
refactor: deploy namespaces first
Browse files Browse the repository at this point in the history
  • Loading branch information
Smana committed Aug 25, 2023
1 parent afcaa90 commit a83d20f
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 7 deletions.
1 change: 0 additions & 1 deletion apps/base/echo/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ resources:
- helmrelease-echo-1.yaml
- helmrelease-echo-2.yaml
- httproutes.yaml
- namespace.yaml
- source.yaml
12 changes: 12 additions & 0 deletions clusters/mycluster-0/namespaces.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: namespaces
namespace: flux-system
spec:
prune: true
interval: 4m0s
path: ./namespaces/base
sourceRef:
kind: GitRepository
name: flux-system
2 changes: 1 addition & 1 deletion crds/base/cert-manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
namespace: security

resources:
- crds.yaml
3 changes: 1 addition & 2 deletions crds/base/external-secrets/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
namespace: security

resources:
- crds.yaml
- namespace.yaml
- source.yaml
2 changes: 1 addition & 1 deletion crds/base/kyverno/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
namespace: security

resources:
- crds.yaml
Expand Down
1 change: 0 additions & 1 deletion crds/base/prometheus-operator/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ namespace: observability

resources:
- helmrelease.yaml
- namespace.yaml
- source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ kind: Kustomization
namespace: crossplane-system

resources:
- namespace.yaml
- release.yaml
- source.yaml
File renamed without changes.
9 changes: 9 additions & 0 deletions namespaces/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: security

resources:
- crossplane-system.yaml
- echo.yaml
- observability.yaml
- security.yaml
File renamed without changes.

0 comments on commit a83d20f

Please sign in to comment.