prometheus: add k8s resources to kustomize
All checks were successful
ci/woodpecker/push/dashboard Pipeline was successful

This commit is contained in:
Tom Neuber 2024-09-30 22:04:39 +02:00
parent 52bf37fbdc
commit 39fd1f7d0f
Signed by: tom
GPG key ID: F17EFE4272D89FF6
2 changed files with 5 additions and 12 deletions

View file

@ -1,12 +0,0 @@
---
kind: Secret
metadata:
name: prometheus-basic-auth-secret
namespace: prometheus
apiVersion: v1
type: nginx.org/htpasswd
stringData:
htpasswd: |
aaron:$2y$05$B2.Q.9/e4VEXsnoe.ypjYOkiykmrF2hpApE7CYc2DPIr0pFIdDO1O
tom:$2y$05$BsM7fvmf3Gpuznak5OSgre0x81K4.vxUQO/aKW5cY4gmQOzvssPLO
basti:$$apr1$$XaGDFprb$$O9Y1oRhTNY7U5aa5Lj3wa1

View file

@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
generators: generators:
- ./secret-generator.yaml - ./secret-generator.yaml
resources:
- ./alerts.yaml
- ./namespace.yaml
- ./service-monitor-longhorn.yaml
- ./templates.yaml