homelab/k8s/apps/ghost/release.yaml
2025-02-10 22:02:42 -08:00

69 lines
1.5 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: ghost
namespace: default
spec:
interval: 10m
releaseName: ghost
targetNamespace: default
chart:
spec:
chart: ghost
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: bitnami
namespace: flux-system
valuesFrom:
- kind: Secret
name: ghost-creds
valuesKey: ghost-password
targetPath: ghostPassword
values:
global:
defaultStorageClass: longhorn
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: le-cf-issuer
kubernetes.io/ingress.class: traefik
ingressClassName: traefik
hostname: blog.mnke.org
tls: true
# Ugh, this doesn't use the wildcard cert I set up! I don't want to
# experiment with this at this point because of how finnicky this chart
# has been. I feel like if I touch this chart the wrong way, it'll just
# break.
# extraTls:
# - hosts:
# - blog.mnke.org
# secretName: wildcard-mnke-org-tls
allowEmptyPassword: false
ghostEmail: tonydu121@hotmail.com
ghostHost: blog.mnke.org
# ghostPassword: ""
mysql:
enabled: false
externalDatabase:
host: db.home.mnke.org
port: 3306
user: ghost
database: ghost
existingSecret: ghost-db-creds
service:
type: ClusterIP
persistence:
accessModes:
- ReadWriteMany