mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-10-29 17:12:34 +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
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- auth-secret.yaml
|
||||
- kube-prometheus-stack.yaml
|
||||
- ns.yaml
|
||||
- ingress-route.yaml
|
||||
|
||||
helmGlobals:
|
||||
chartHome: ../../charts
|
||||
- auth
|
||||
|
||||
helmCharts:
|
||||
- name: application
|
||||
releaseName: auth
|
||||
valuesFile: auth-values.yaml
|
||||
- name: kube-prometheus-stack
|
||||
repo: https://prometheus-community.github.io/helm-charts
|
||||
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