Files
auricom-home-cluster/kubernetes/apps/default/redis/lb/helmrelease.yaml
feisar-bot 5ea91fd580 ⬆️ Update image public.ecr.aws/docker/library/haproxy to 2.7.3
| datasource | package                               | from  | to    |
| ---------- | ------------------------------------- | ----- | ----- |
| docker     | public.ecr.aws/docker/library/haproxy | 2.7.2 | 2.7.3 |
2023-02-18 10:42:46 +01:00

87 lines
2.0 KiB
YAML

---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helmrelease_v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: redis-lb
namespace: default
spec:
interval: 15m
chart:
spec:
chart: app-template
version: 1.3.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 3
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controller:
replicas: 3
strategy: RollingUpdate
image:
repository: public.ecr.aws/docker/library/haproxy
tag: 2.7.3-alpine
service:
main:
type: LoadBalancer
loadBalacerIP: "${CLUSTER_LB_REDIS}"
externalTrafficPolicy: Local
ports:
http:
port: 8080
targetPort: 8080
redis-write:
port: 6379
targetPort: 6379
redis-read:
port: 6380
targetPort: 6380
redis-sentinel:
port: 26379
targetPort: 26379
serviceMonitor:
main:
enabled: true
endpoints:
- port: http
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 10s
ingress:
main:
enabled: true
ingressClassName: nginx
annotations:
hajimari.io/icon: simple-icons:redis
hosts:
- host: redis-lb.${SECRET_CLUSTER_DOMAIN}
paths:
- path: /
pathType: Prefix
podSecurityContext:
runAsUser: 99
runAsGroup: 99
fsGroup: 99
fsGroupChangePolicy: "OnRootMismatch"
persistence:
config:
enabled: true
type: configMap
name: redis-lb-configmap # overriden by kustomizeconfig
mountPath: /usr/local/etc/haproxy/haproxy.cfg
subPath: haproxy.cfg
readOnly: true