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:
Vegard Hagen
2024-04-06 18:12:11 +02:00
parent 0b4a1ee0a6
commit b233ef4873
5 changed files with 29 additions and 9 deletions

View 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

View File

@@ -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