homelab/k8s/apps/ghost/release.yaml

58 lines
1.1 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: ghost
namespace: ghost
spec:
interval: 1m
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
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