Just incase; put chart into chart
This commit is contained in:
parent
526aaa1dd8
commit
6b56e35f68
18 changed files with 1 additions and 1 deletions
40
chart/templates/monitoring-prometheus.yaml
Normal file
40
chart/templates/monitoring-prometheus.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: prometheus-community
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
url: https://prometheus-community.github.io/helm-charts
|
||||
interval: 1h
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: prometheus-operator
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: kube-prometheus-stack
|
||||
version: 58.1.2
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: prometheus-community
|
||||
namespace: {{ .Release.Namespace }}
|
||||
install:
|
||||
createNamespace: false
|
||||
upgrade:
|
||||
disableWait: true
|
||||
timeout: 5m
|
||||
values:
|
||||
prometheus:
|
||||
prometheusSpec:
|
||||
serviceMonitorSelectorNilUsesHelmValues: false
|
||||
# Optional: expose Prometheus/Grafana via NodePort, Ingress, etc.
|
||||
grafana:
|
||||
enabled: false
|
||||
alertmanager:
|
||||
enabled: true
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue