Files
auricom-home-cluster/cluster/apps/monitoring/thanos/helm-release.yaml
2021-06-17 20:48:41 +00:00

58 lines
1.4 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: thanos
namespace: monitoring
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://charts.bitnami.com/bitnami
chart: thanos
version: 3.18.2
sourceRef:
kind: HelmRepository
name: bitnami-charts
namespace: flux-system
interval: 5m
values:
query:
enabled: true
replicaCount: 2
replicaLabels:
- replica
dnsDiscovery:
sidecarsService: kube-prometheus-stack-thanos-discovery
sidecarsNamespace: monitoring
ingress:
enabled: true
hostname: "thanos.${SECRET_CLUSTER_DOMAIN}"
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-url: "http://authelia.networking.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://login.${SECRET_CLUSTER_DOMAIN}/"
tls: true
queryFrontend:
enabled: false
bucketweb:
enabled: true
compactor:
enabled: true
storegateway:
enabled: true
ruler:
enabled: false
metrics:
enabled: true
serviceMonitor:
enabled: true
objstoreConfig: |-
type: s3
config:
bucket: thanos
endpoint: ${SECRET_MINIO_ENDPOINT}
access_key: "${SECRET_MINIO_ACCESS_KEY}"
secret_key: "${SECRET_MINIO_SECRET_KEY}"
insecure: false