update to sepeate kustomization and kustomize resource
This commit is contained in:
@@ -1,21 +1,6 @@
|
|||||||
---
|
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- gotk-components.yaml
|
- gotk-components.yaml
|
||||||
- gotk-kustomization.yaml
|
- gotk-kustomization.yaml
|
||||||
- gotk-sync.yaml
|
- gotk-sync.yaml
|
||||||
---
|
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: test3
|
|
||||||
namespace: test3
|
|
||||||
spec:
|
|
||||||
interval: 10m0s
|
|
||||||
path: ./deployments/test3
|
|
||||||
prune: true
|
|
||||||
validation: client
|
|
||||||
sourceRef:
|
|
||||||
kind: GitRepository
|
|
||||||
name: flux-system
|
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: test3
|
||||||
|
namespace: test3
|
||||||
|
spec:
|
||||||
|
interval: 10m0s
|
||||||
|
path: ./deployments/test3
|
||||||
|
prune: true
|
||||||
|
validation: client
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux-system
|
||||||
Reference in New Issue
Block a user