apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: homepage-dev-cloudflared-secret
  namespace: homepage-dev
  labels:
    helm.sh/chart: cloudflared-2.3.0
    app.kubernetes.io/instance: homepage-dev
    app.kubernetes.io/part-of: homepage-dev
    app.kubernetes.io/version: "2.3.0"
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: homepage-dev-cloudflared-secret
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: vault
  data:
    - secretKey: cf-tunnel-token
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cloudflare/tunnels/homepage-dev
        metadataPolicy: None
        property: token
