mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
🐛 fix secrets
This commit is contained in:
@@ -3,28 +3,30 @@
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: gatus
|
||||
namespace: monitoring
|
||||
name: gatus
|
||||
namespace: monitoring
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: onepassword-connect
|
||||
target:
|
||||
name: gatus-secret
|
||||
creationPolicy: Owner
|
||||
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: postgres-rw.default.svc.cluster.local
|
||||
INIT_POSTGRES_USER: '{{ .POSTGRES_USER }}'
|
||||
INIT_POSTGRES_PASS: '{{ .POSTGRES_PASS }}'
|
||||
INIT_POSTGRES_SUPER_PASS: '{{ .POSTGRES_SUPER_PASS }}'
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: pushover
|
||||
- extract:
|
||||
key: gatus
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: onepassword-connect
|
||||
target:
|
||||
name: gatus-secret
|
||||
creationPolicy: Owner
|
||||
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: postgres-rw.default.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: pushover
|
||||
- extract:
|
||||
key: gatus
|
||||
|
Reference in New Issue
Block a user