Difference between revisions of "Flux bootstrap github"

From wikieduonline
Jump to navigation Jump to search
 
Line 9: Line 9:
 
  - POST https://[[api.github.com]]/user/repos: [[404 Not Found]] []
 
  - POST https://[[api.github.com]]/user/repos: [[404 Not Found]] []
 
  - the requested resource was not found
 
  - the requested resource was not found
 +
 +
Solution: Make sure your [[PAT]] has required [[privileges]]
 +
  
 
https://github.com/marcel-dempers/docker-development-youtube-series/tree/master/kubernetes/fluxcd
 
https://github.com/marcel-dempers/docker-development-youtube-series/tree/master/kubernetes/fluxcd

Latest revision as of 12:29, 14 March 2024

flux bootstrap github
Please enter your GitHub personal access token (PAT):
► connecting to github.com
✗ failed to create new Git repository "https://github.com/your-org/your-repo": multiple errors 
occurred:
- POST https://api.github.com/user/repos: 404 Not Found []
- the requested resource was not found

Solution: Make sure your PAT has required privileges

https://github.com/marcel-dempers/docker-development-youtube-series/tree/master/kubernetes/fluxcd

flux bootstrap github \
 --token-auth \
 --owner=marcel-dempers \
 --repository=docker-development-youtube-series \
 --path=kubernetes/fluxcd/repositories/infra-repo/clusters/dev-cluster \
 --personal \
 --branch fluxcd-2022
flux check
# flux manages itself using GitOps objects:
kubectl -n flux-system get GitRepository
kubectl -n flux-system get Kustomization

See also[edit]

Advertising: