apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: umami-password
  namespace: umami
spec:
  refreshInterval: 1h
  secretStoreRef:
    kind: ClusterSecretStore
    name: vault-backend
  target:
    name: umami-password
    creationPolicy: Owner
  data:
    - secretKey: database-url
      remoteRef:
        key: applications/umami
        property: DATABASE_URL
    - secretKey: hash-salt
      remoteRef:
        key: applications/umami
        property: HASH_SALT
