basic: own kustomization for namespace

This commit is contained in:
xeruf 2022-07-05 09:52:20 +01:00
parent da50e3080b
commit 4745df2aac
4 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,13 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: stackspin-namespace
namespace: flux-system
spec:
interval: 30m
sourceRef:
kind: GitRepository
name: stackspout
path: ./basic/infrastructure/namespaces
prune: true
validation: client

View File

@ -1,13 +1,13 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: sources
name: stackspin-sources
namespace: flux-system
spec:
interval: 30m
sourceRef:
kind: GitRepository
name: stackspout
path: ./basic/infrastructure
path: ./basic/infrastructure/sources
prune: true
validation: client

View File

@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- stackspout.yaml