fp/flux/infrastructure/controllers/kube-prometheus-stack.yaml

57 lines
1.2 KiB
YAML
Raw Normal View History

2024-07-30 20:34:25 +00:00
2024-06-21 01:20:33 +00:00
2024-06-21 00:56:36 +00:00
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: prometheus-community
namespace: futureporn
spec:
interval: 24h
url: https://prometheus-community.github.io/helm-charts
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: prometheus
namespace: futureporn
spec:
interval: 30m
chart:
spec:
chart: kube-prometheus-stack
version: "60.3.0"
sourceRef:
kind: HelmRepository
name: prometheus-community
namespace: futureporn
interval: 12h
values:
prometheus:
prometheusSpec:
storageSpec:
volumeClaimTemplate:
spec:
2024-06-21 01:09:30 +00:00
storageClassName: vultr-block-storage-hdd
2024-06-21 00:56:36 +00:00
resources:
requests:
2024-06-21 01:09:30 +00:00
storage: 40Gi
2024-06-21 00:56:36 +00:00
grafana:
2024-06-21 01:20:33 +00:00
service:
2024-06-21 02:27:58 +00:00
2024-06-21 01:49:04 +00:00
annotations:
2024-06-21 01:20:33 +00:00
2024-06-21 01:02:07 +00:00
admin:
existingSecret: grafana
2024-06-21 00:56:36 +00:00
sidecar:
dashboards:
enabled: true
defaultFolderName: "General"
label: grafana_dashboard
labelValue: "1"
folderAnnotation: grafana_folder
searchNamespace: ALL
provider:
foldersFromFilesStructure: true