After installing FluxCD v2 on my EKS cluster, I defined a GitRepository definition pointing to a repo on GitHub.
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
name: springbootflux-infra
namespace: flux-system
spec:
interval: 30s
ref:
branch: master
url: https://github.com/***/privaterepo
As the name says, yhe privaterepo on GitHub is a private. Problem is that FluxCD cannot read the repo. What can I do to allow FluxCD on EKS to be able to read the repo?