Skip to content

Instantly share code, notes, and snippets.

@cerebrate
Created May 15, 2023 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cerebrate/8cab89d8ef00290c101504518e09f7be to your computer and use it in GitHub Desktop.
Save cerebrate/8cab89d8ef00290c101504518e09f7be to your computer and use it in GitHub Desktop.
HA: recorderdb-db.yaml
---
apiVersion: mysql.oracle.com/v2
kind: InnoDBCluster
metadata:
name: recorderdb
namespace: homeassistant
spec:
secretName: recorderdb-pwd
instances: 1
router:
instances: 1
datadirVolumeClaimTemplate:
storageClassName: ""
volumeName: recorderdb-pv
accessModes:
- ReadWriteOnce
tlsUseSelfSigned: true
podSpec:
nodeSelector:
kubernetes.io/hostname: princess-luna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment