47 lines
925 B
YAML
47 lines
925 B
YAML
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: redis
|
|
namespace: database
|
|
spec:
|
|
interval: 5m
|
|
chart:
|
|
spec:
|
|
chart: redis
|
|
version: 20.3.x
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bitnami-charts
|
|
namespace: flux-system
|
|
values:
|
|
auth:
|
|
existingSecret: "redis-secrets"
|
|
existingSecretPasswordKey: "password"
|
|
|
|
master:
|
|
podSecurityContext:
|
|
enabled: true
|
|
fsGroup: 10000
|
|
|
|
containerSecurityContext:
|
|
enabled: true
|
|
runAsUser: 10000
|
|
|
|
persistence:
|
|
enabled: true
|
|
storageClass: mainpool-hostpath
|
|
size: 8Gi
|
|
|
|
replica:
|
|
podSecurityContext:
|
|
enabled: true
|
|
fsGroup: 10000
|
|
|
|
containerSecurityContext:
|
|
enabled: true
|
|
runAsUser: 10000
|
|
|
|
persistence:
|
|
enabled: true
|
|
storageClass: mainpool-hostpath
|
|
size: 8Gi |