From 7eb575647b3acba31f0dff9b422513f3ceba488a Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Wed, 28 Aug 2024 17:01:51 +0500 Subject: [PATCH] feat: Prometheus | set up prom operator --- helm/helmfile.yaml | 10 ++++++++++ helm/values/prometheus.values.yaml | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 helm/values/prometheus.values.yaml diff --git a/helm/helmfile.yaml b/helm/helmfile.yaml index 72fda34..a48d150 100644 --- a/helm/helmfile.yaml +++ b/helm/helmfile.yaml @@ -15,6 +15,8 @@ repositories: url: https://dl.gitea.com/charts - name: jetstack url: https://charts.jetstack.io + - name: prometheus-community + url: https://prometheus-community.github.io/helm-charts --- releases: # Distributed Storage @@ -80,3 +82,11 @@ releases: version: 1.15.3 values: - ./values/cert-manager.values.yaml + + # Prometheus Operator + - name: prometheus-operator + namespace: prometheus-system + chart: prometheus-community/kube-prometheus-stack + version: 62.3.0 + values: + - ./values/prometheus.values.yaml diff --git a/helm/values/prometheus.values.yaml b/helm/values/prometheus.values.yaml new file mode 100644 index 0000000..31fc73b --- /dev/null +++ b/helm/values/prometheus.values.yaml @@ -0,0 +1,13 @@ +grafana: + enabled: true + ingress: + enabled: true + ingressClassName: nginx-internal + annotations: + cert-manager.io/cluster-issuer: selfsigned-issuer + hosts: + - grafana.home + tls: + - secretName: grafana-tls + hosts: + - grafana.home