apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: matrix-synapse-config-secret
  namespace: matrix-synapse
  labels:
    app.kubernetes.io/name: matrix-synapse-config-secret
    app.kubernetes.io/instance: matrix-synapse
    app.kubernetes.io/part-of: matrix-synapse
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: vault
  data:
    - secretKey: oidc.yaml
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/matrix-synapse/config
        metadataPolicy: None
        property: oidc.yaml
    - secretKey: config.yaml
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/matrix-synapse/config
        metadataPolicy: None
        property: config.yaml
