consolidate namespace

This commit is contained in:
2024-06-16 16:18:21 +10:00
parent f50e21d191
commit 6044624b10
2 changed files with 17 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespaces/
- namespaces.yaml

View File

@@ -0,0 +1,16 @@
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/gitrepository_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: namespaces
namespace: flux-system
spec:
interval: 10m
timeout: 1m30s
retryInterval: 30s
path: ./kubernetes/infrastructure/namespaces/namespaces
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: flux-system