83 lines
1.6 KiB
YAML
83 lines
1.6 KiB
YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
|
kind: Kustomization
|
|
metadata:
|
|
name: cluster-secrets
|
|
namespace: flux-system
|
|
spec:
|
|
timeout: 5m
|
|
interval: 10m
|
|
path: ./cluster/secrets
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: flux-system
|
|
---
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
|
kind: Kustomization
|
|
metadata:
|
|
name: crds
|
|
namespace: flux-system
|
|
spec:
|
|
timeout: 5m
|
|
interval: 10m
|
|
path: ./cluster/crds
|
|
prune: false
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: flux-system
|
|
---
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
|
kind: Kustomization
|
|
metadata:
|
|
name: core
|
|
namespace: flux-system
|
|
spec:
|
|
timeout: 5m
|
|
interval: 10m
|
|
dependsOn:
|
|
- name: crds
|
|
- name: cluster-secrets
|
|
path: ./cluster/core
|
|
prune: false
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: flux-system
|
|
decryption:
|
|
provider: sops
|
|
secretRef:
|
|
name: sops-gpg
|
|
postBuild:
|
|
substitute: {}
|
|
substituteFrom:
|
|
- kind: ConfigMap
|
|
name: cluster-settings
|
|
- kind: Secret
|
|
name: cluster-secrets
|
|
---
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
|
kind: Kustomization
|
|
metadata:
|
|
name: apps
|
|
namespace: flux-system
|
|
spec:
|
|
timeout: 5m
|
|
interval: 10m
|
|
dependsOn:
|
|
- name: core
|
|
- name: cluster-secrets
|
|
path: ./cluster/apps
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: flux-system
|
|
decryption:
|
|
provider: sops
|
|
secretRef:
|
|
name: sops-gpg
|
|
postBuild:
|
|
substitute: {}
|
|
substituteFrom:
|
|
- kind: ConfigMap
|
|
name: cluster-settings
|
|
- kind: Secret
|
|
name: cluster-secrets |