k3s-cluster/kubernetes/thin/apps/database/redis/app/helm-release.yaml

61 lines
1.1 KiB
YAML

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: redis
namespace: database
spec:
interval: 5m
chart:
spec:
chart: redis
version: 20.2.0
sourceRef:
kind: HelmRepository
name: bitnami-charts
namespace: flux-system
values:
auth:
existingSecret: "redis-secrets"
existingSecretPasswordKey: "password"
master:
podSecurityContext:
enabled: true
fsGroup: 700
containerSecurityContext:
enabled: true
runAsUser: 700
persistence:
enabled: true
storageClass: openebs-single
size: 16Gi
replica:
podSecurityContext:
enabled: true
fsGroup: 700
containerSecurityContext:
enabled: true
runAsUser: 700
persistence:
enabled: true
storageClass: openebs-single
size: 16Gi
sentinel:
enabled: true
quorum: 2
persistence:
enabled: true
storageClass: openebs-single
size: 8Gi
containerSecurityContext:
enabled: true
runAsUser: 700
runAsGroup: 700