k3s-cluster/kubernetes/thin/apps/default/home-assistant/ks.yaml
SeanOMik ab68bd87e8 fix: switch to cloudnative-pg and change home assistant to use it
feat(thin): switch to cloudnative-pg

chore(nginx-external): switch to default 443 port

fix(thin,cloudpg): use correct storage class

fix(thin,cloudpg): remove cpu limits

fix(thin,cloudpg): set cpu limits to 20m

chore(thin,cloudpg): setup backups

Revert "chore(thin,cloudpg): setup backups"

This reverts commit 15ef935a88.

chore(thin,cloudpg): setup backups

chore(thin,cloudpg): use PodDisruptionBudgets instead of nodeMaintenanceWindow

chore(thin,cloudpg): scale down to 1 replica, disable PDB

fix(thin,hass): use new kustomization name for cloudinitpg

fix(thin,hass): use new postgres service name

fix(thin,hass): use CORRECT postgres service name

fix(thin,hass): convert elevation to integer
2025-02-20 19:29:42 -05:00

30 lines
766 B
YAML

# 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: home-assistant
namespace: flux-system
spec:
timeout: 5m
interval: 10m
path: ./kubernetes/thin/apps/default/home-assistant/files
prune: true
sourceRef:
kind: GitRepository
name: home-cluster
decryption:
provider: sops
secretRef:
name: sops-gpg
dependsOn:
- name: openebs-sc
namespace: flux-system
- name: cloudnative-pg-cluster
namespace: flux-system
postBuild:
substitute: {}
substituteFrom:
- kind: ConfigMap
name: cluster-settings
- kind: Secret
name: cluster-secrets