add helmRepo and helmRelease for prometheus

This commit is contained in:
2025-12-28 03:16:49 +05:30
parent 63ff9eca66
commit 652c922b64
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: prometheus
namespace: monitoring
spec:
interval: 6h
chart:
spec:
chart: prometheus
version: "27.52.0"
sourceRef:
kind: HelmRepository
name: prometheus-community
namespace: flux-system
interval: 6h
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
service:
enabled: true
type: ClusterIP

View File

@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: prometheus-community
namespace: flux-system
spec:
interval: 6h
url: https://prometheus-community.github.io/helm-charts