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:
@@ -46,6 +46,6 @@ spec:
|
|||||||
- *host
|
- *host
|
||||||
valuesFrom:
|
valuesFrom:
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: weave-gitops
|
name: weave-gitops-secret
|
||||||
valuesKey: adminPassword
|
valuesKey: adminPassword
|
||||||
targetPath: adminUser.passwordHash
|
targetPath: adminUser.passwordHash
|
||||||
|
@@ -3,28 +3,30 @@
|
|||||||
apiVersion: external-secrets.io/v1beta1
|
apiVersion: external-secrets.io/v1beta1
|
||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: gatus
|
name: gatus
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
secretStoreRef:
|
secretStoreRef:
|
||||||
kind: ClusterSecretStore
|
kind: ClusterSecretStore
|
||||||
name: onepassword-connect
|
name: onepassword-connect
|
||||||
target:
|
target:
|
||||||
name: gatus-secret
|
name: gatus-secret
|
||||||
creationPolicy: Owner
|
creationPolicy: Owner
|
||||||
template:
|
template:
|
||||||
data:
|
data:
|
||||||
# App
|
# App
|
||||||
CUSTOM_PUSHOVER_APP_TOKEN: '{{ .PUSHOVER_API_TOKEN }}'
|
CUSTOM_PUSHOVER_APP_TOKEN: '{{ .PUSHOVER_API_TOKEN }}'
|
||||||
CUSTOM_PUSHOVER_USER_KEY: '{{ .PUSHOVER_USER_KEY }}'
|
CUSTOM_PUSHOVER_USER_KEY: '{{ .PUSHOVER_USER_KEY }}'
|
||||||
# Postgres Init
|
# Postgres Init
|
||||||
INIT_POSTGRES_DBNAME: gatus
|
INIT_POSTGRES_DBNAME: gatus
|
||||||
INIT_POSTGRES_HOST: postgres-rw.default.svc.cluster.local
|
INIT_POSTGRES_HOST: postgres-rw.default.svc.cluster.local
|
||||||
INIT_POSTGRES_USER: '{{ .POSTGRES_USER }}'
|
INIT_POSTGRES_USER: '{{ .POSTGRES_USER }}'
|
||||||
INIT_POSTGRES_PASS: '{{ .POSTGRES_PASS }}'
|
INIT_POSTGRES_PASS: '{{ .POSTGRES_PASS }}'
|
||||||
INIT_POSTGRES_SUPER_PASS: '{{ .POSTGRES_SUPER_PASS }}'
|
INIT_POSTGRES_SUPER_PASS: '{{ .POSTGRES_SUPER_PASS }}'
|
||||||
dataFrom:
|
dataFrom:
|
||||||
- extract:
|
- extract:
|
||||||
key: pushover
|
key: cloudnative-pg
|
||||||
- extract:
|
- extract:
|
||||||
key: gatus
|
key: pushover
|
||||||
|
- extract:
|
||||||
|
key: gatus
|
||||||
|
Reference in New Issue
Block a user