apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: gitea-renovate-secret
  namespace: gitea
  labels:
    app.kubernetes.io/name: gitea-renovate-secret
    app.kubernetes.io/instance: gitea
    app.kubernetes.io/part-of: gitea
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: vault
  data:
    - secretKey: RENOVATE_ENDPOINT
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/gitea/renovate
        metadataPolicy: None
        property: RENOVATE_ENDPOINT
    - secretKey: RENOVATE_GIT_AUTHOR
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/gitea/renovate
        metadataPolicy: None
        property: RENOVATE_GIT_AUTHOR
    - secretKey: RENOVATE_TOKEN
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/gitea/renovate
        metadataPolicy: None
        property: RENOVATE_TOKEN
    - secretKey: RENOVATE_GIT_PRIVATE_KEY
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/gitea/renovate
        metadataPolicy: None
        property: id_rsa
    - secretKey: RENOVATE_GITHUB_COM_TOKEN
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /github/gitea-cl01tl
        metadataPolicy: None
        property: token
