mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-03 03:17:58 +00:00
fix(monitoring): Change the way kube-prometheus-stack is applied
Try to use Kustomize instead of an Argo CD application
This commit is contained in:
13
infra/monitoring/auth/kustomization.yaml
Normal file
13
infra/monitoring/auth/kustomization.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- auth-secret.yaml
|
||||||
|
|
||||||
|
helmGlobals:
|
||||||
|
chartHome: ../../../charts
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: application
|
||||||
|
releaseName: auth
|
||||||
|
valuesFile: auth-values.yaml
|
||||||
@@ -2,15 +2,22 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- ns.yaml
|
||||||
- auth-secret.yaml
|
|
||||||
- kube-prometheus-stack.yaml
|
|
||||||
- ingress-route.yaml
|
- ingress-route.yaml
|
||||||
|
- auth
|
||||||
helmGlobals:
|
|
||||||
chartHome: ../../charts
|
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: application
|
- name: kube-prometheus-stack
|
||||||
releaseName: auth
|
repo: https://prometheus-community.github.io/helm-charts
|
||||||
valuesFile: auth-values.yaml
|
version: 44.3.0
|
||||||
|
releaseName: kube-prometheus-stack
|
||||||
|
namespace: monitoring
|
||||||
|
valuesInline:
|
||||||
|
prometheus-node-exporter:
|
||||||
|
hostRootFsMount:
|
||||||
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
admissionWebhooks:
|
||||||
|
failurePolicy: Ignore
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user