k3s-cluster/kubernetes/main/apps/database/mysql/helm-release.yaml

30 lines
556 B
YAML

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: mysql
namespace: database
spec:
interval: 5m
chart:
spec:
chart: mysql
version: 11.1.20
sourceRef:
kind: HelmRepository
name: bitnami-charts
namespace: flux-system
values:
global:
defaultStorageClass: mainpool-hostpath
auth:
existingSecret: mysql
metrics:
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
prometheusRule:
enabled: true