consolidate namespace
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- ./namespaces/namespaces.yaml
|
||||||
- ./repositories/repositories.yaml
|
- ./repositories/repositories.yaml
|
||||||
- ./cilium/cilium.yaml
|
- ./cilium/cilium.yaml
|
||||||
- ./ingress-nginx/ingress-nginx-config.yaml
|
- ./ingress-nginx/ingress-nginx-config.yaml
|
||||||
|
|||||||
16
kubernetes/infrastructure/namespaces/namespaces.yaml
Normal file
16
kubernetes/infrastructure/namespaces/namespaces.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: namespaces
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 10m
|
||||||
|
timeout: 1m30s
|
||||||
|
retryInterval: 30s
|
||||||
|
targetNamespace: flux-system
|
||||||
|
path: ./kubernetes/infrastructure/namespaces/namespaces
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
namespace: flux-system
|
||||||
|
name: flux-system
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: capacitor
|
||||||
Reference in New Issue
Block a user