2026-01-28 19:50:38 -08:00
|
|
|
# ExternalSecret for TeslaMate database user password
|
|
|
|
|
#
|
|
|
|
|
# Replaces the manual op inject workflow from secret-teslamate.yaml.tpl
|
|
|
|
|
#
|
|
|
|
|
# 1Password item: "TeslaMate" in blumeops vault
|
|
|
|
|
# Field: "db_password"
|
|
|
|
|
#
|
|
|
|
|
apiVersion: external-secrets.io/v1
|
|
|
|
|
kind: ExternalSecret
|
|
|
|
|
metadata:
|
|
|
|
|
name: blumeops-pg-teslamate
|
|
|
|
|
namespace: databases
|
|
|
|
|
spec:
|
|
|
|
|
refreshInterval: 1h
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
|
name: onepassword-blumeops
|
|
|
|
|
target:
|
|
|
|
|
name: blumeops-pg-teslamate
|
2026-01-28 20:27:16 -08:00
|
|
|
creationPolicy: Owner
|
2026-01-28 19:50:38 -08:00
|
|
|
template:
|
|
|
|
|
type: kubernetes.io/basic-auth
|
|
|
|
|
data:
|
|
|
|
|
username: teslamate
|
|
|
|
|
password: "{{ .password }}"
|
|
|
|
|
data:
|
|
|
|
|
- secretKey: password
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: TeslaMate
|
|
|
|
|
property: db_password
|