theshire/kubernetes/apps/default/home-assistant/app/externalsecret.yaml

20 lines
501 B
YAML
Raw Normal View History

2024-10-01 18:08:29 -05:00
---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: home-assistant
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: home-assistant-secret
template:
engineVersion: v2
data:
HASS_PIRATE_WEATHER_API_KEY: "{{ .HASS_PIRATE_WEATHER_API_KEY }}"
dataFrom:
- extract:
key: home-assistant