theshire/kubernetes/apps/observability/unpoller/app/externalsecret.yaml

21 lines
507 B
YAML
Raw Permalink Normal View History

2024-10-21 10:37:53 -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: unpoller
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: unpoller-secret
template:
engineVersion: v2
data:
UP_UNIFI_DEFAULT_USER: "{{ .username }}"
UP_UNIFI_DEFAULT_PASS: "{{ .password }}"
dataFrom:
- extract:
key: unpoller