mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 08:47:17 +02:00
32 lines
929 B
YAML
32 lines
929 B
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/external-secrets.io/externalsecret_v1beta1.json
|
|
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: gatus
|
|
namespace: monitoring
|
|
spec:
|
|
secretStoreRef:
|
|
kind: ClusterSecretStore
|
|
name: onepassword-connect
|
|
target:
|
|
name: gatus-secret
|
|
template:
|
|
data:
|
|
# App
|
|
CUSTOM_PUSHOVER_APP_TOKEN: '{{ .PUSHOVER_API_TOKEN }}'
|
|
CUSTOM_PUSHOVER_USER_KEY: '{{ .PUSHOVER_USER_KEY }}'
|
|
# Postgres Init
|
|
INIT_POSTGRES_DBNAME: gatus
|
|
INIT_POSTGRES_HOST: postgres16-rw.database.svc.cluster.local
|
|
INIT_POSTGRES_USER: '{{ .POSTGRES_USER }}'
|
|
INIT_POSTGRES_PASS: '{{ .POSTGRES_PASS }}'
|
|
INIT_POSTGRES_SUPER_PASS: '{{ .POSTGRES_SUPER_PASS }}'
|
|
dataFrom:
|
|
- extract:
|
|
key: cloudnative-pg
|
|
- extract:
|
|
key: gatus
|
|
- extract:
|
|
key: pushover
|