k3s-cluster/cluster/apps/database/redis/helm-release.yaml

55 lines
1.0 KiB
YAML

apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: redis
namespace: database
spec:
interval: 5m
chart:
spec:
chart: redis
version: 18.12.x
sourceRef:
kind: HelmRepository
name: bitnami-charts
namespace: flux-system
values:
auth:
existingSecret: "redis-secrets"
existingSecretPasswordKey: "password"
serviceMonitor:
enabled: true
additionalLabels:
release: kube-prometheus-stack
master:
podSecurityContext:
enabled: true
fsGroup: 10000
containerSecurityContext:
enabled: true
runAsUser: 10000
replica:
podSecurityContext:
enabled: true
fsGroup: 10000
containerSecurityContext:
enabled: true
runAsUser: 10000
sentinel:
containerSecurityContext:
enabled: true
runAsUser: 10000
metrics:
containerSecurityContext:
enabled: true
runAsUser: 10000
volumePermissions:
enabled: true