Ordnerstruktur und Production-Sync hinzugefügt
This commit is contained in:
parent
099ecf0f24
commit
cb4a8943e0
4
.sops.yml
Normal file
4
.sops.yml
Normal file
@ -0,0 +1,4 @@
|
||||
creation_rules:
|
||||
path_regex: .*.yaml
|
||||
encrypted_regex: ^(data|stringData)$
|
||||
age: "age14l0hwfqylwpemz5y2ghh2yxk0phszlnj3qlejhue0fw0kz3tmfgqdsjzdh"
|
||||
3
apps/production/kustomization.yaml
Normal file
3
apps/production/kustomization.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
BIN
clusters/.DS_Store
vendored
Normal file
BIN
clusters/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
clusters/matrix/.DS_Store
vendored
Normal file
BIN
clusters/matrix/.DS_Store
vendored
Normal file
Binary file not shown.
16
clusters/matrix/production-sync.yaml
Normal file
16
clusters/matrix/production-sync.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
cat <<EOF > clusters/matrix/production-sync.yamlapiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: production-apps
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m
|
||||
path: ./apps/production
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-age
|
||||
Loading…
x
Reference in New Issue
Block a user