This is a backport issue for #3077, automatically created via GitHub Actions workflow initiated by @manno
Original issue body:
GitRepoRestriction resources can be used to default GitRepos and restrict their values.
Default values for GitRepo resources, configured through a GitRepoRestriction resource are not applied, although the restrictions remain functional.
- defaultServiceAccount
- defaultClientSecretName
See #3056