2024-09-15 20:33:51 +00:00
|
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
|
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
|
|
kind: Kustomization
|
|
|
|
metadata:
|
|
|
|
name: postgresql
|
|
|
|
namespace: flux-system
|
|
|
|
spec:
|
2024-09-20 21:14:43 +00:00
|
|
|
targetNamespace: database
|
2024-09-15 20:33:51 +00:00
|
|
|
timeout: 5m
|
|
|
|
interval: 10m
|
2024-09-20 21:14:43 +00:00
|
|
|
path: ./kubernetes/common/apps/database/postgresql
|
2024-09-15 20:33:51 +00:00
|
|
|
prune: true
|
|
|
|
sourceRef:
|
|
|
|
kind: GitRepository
|
|
|
|
name: home-cluster
|
|
|
|
decryption:
|
|
|
|
provider: sops
|
|
|
|
secretRef:
|
|
|
|
name: sops-gpg
|
|
|
|
dependsOn:
|
2024-09-15 20:37:23 +00:00
|
|
|
- name: openebs-sc
|
2024-09-15 20:33:51 +00:00
|
|
|
namespace: flux-system
|
|
|
|
postBuild:
|
|
|
|
substitute: {}
|
|
|
|
substituteFrom:
|
|
|
|
- kind: ConfigMap
|
|
|
|
name: cluster-settings
|
|
|
|
- kind: Secret
|
2024-09-20 21:14:43 +00:00
|
|
|
name: cluster-secrets
|
2024-09-20 21:53:43 +00:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
|
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
|
|
kind: Kustomization
|
|
|
|
metadata:
|
|
|
|
name: redis
|
|
|
|
namespace: flux-system
|
|
|
|
spec:
|
|
|
|
targetNamespace: database
|
|
|
|
timeout: 5m
|
|
|
|
interval: 10m
|
|
|
|
path: ./kubernetes/common/apps/database/redis
|
|
|
|
prune: true
|
|
|
|
sourceRef:
|
|
|
|
kind: GitRepository
|
|
|
|
name: home-cluster
|
|
|
|
decryption:
|
|
|
|
provider: sops
|
|
|
|
secretRef:
|
|
|
|
name: sops-gpg
|
|
|
|
dependsOn:
|
|
|
|
- name: openebs-sc
|
|
|
|
namespace: flux-system
|
|
|
|
postBuild:
|
|
|
|
substitute: {}
|
|
|
|
substituteFrom:
|
|
|
|
- kind: ConfigMap
|
|
|
|
name: cluster-settings
|
|
|
|
- kind: Secret
|
|
|
|
name: cluster-secrets
|