kube-cascade/prometheus/application.yaml
2023-04-29 23:40:42 -05:00

62 lines
1.8 KiB
YAML

---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prometheus
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
destination:
server: "https://kubernetes.default.svc"
namespace: prometheus
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- ServerSideApply=true
source:
chart: kube-prometheus-stack
repoURL: https://prometheus-community.github.io/helm-charts
targetRevision: 45.23.0
helm:
values: |-
grafana:
grafana.ini:
server:
domain: grafana.strudelline.net
auth.generic_oauth:
name: werts
enabled: true
client_id: grafana
client_secret: LwQV4aiy9zYx959ZT6ROUVH8PmqZAkVysOaflvmUwCLvRg2EDMTDxy1lj0S1227a70VOjopb1erIVmwncvSrh0
allow_sign_up: false
scopes: email account openid
api_url: https://auth.werts.us/realms/werts/protocol/openid-connect/userinfo
auth_url: https://auth.werts.us/realms/werts/protocol/openid-connect/auth
token_url: https://auth.werts.us/realms/werts/protocol/openid-connect/token
use_pkce: true
smtp:
enabled: true
password: d57bbfd562ceae1a90c762db5a908f37-70c38fed-e4a3e245
user: grafana@strudelline.net
host: smtp.mailgun.org:465
admin:
existingSecret: prometheus-grafana-custom-secret
ingress:
enabled: true
hosts:
- "grafana.strudelline.net"
path: "/"
tls:
- hosts:
- grafana.strudelline.net
secretName: wildcard-tls
# values