apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: shelly-plug-config-secret
  namespace: shelly-plug
  labels:
    app.kubernetes.io/name: shelly-plug-config-secret
    app.kubernetes.io/instance: shelly-plug
    app.kubernetes.io/part-of: shelly-plug
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: openbao
  data:
    - secretKey: SHELLY_HTTP_USERNAME
      remoteRef:
        key: /it05sp/auth
        property: username
    - secretKey: SHELLY_HTTP_PASSWORD
      remoteRef:
        key: /it05sp/auth
        property: password
