Difference between revisions of "Flux bootstrap github"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
  [[flux bootstrap]] github
 
  [[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]]
 +
  
flux bootstrap github \
+
https://github.com/marcel-dempers/docker-development-youtube-series/tree/master/kubernetes/fluxcd
 +
[[flux bootstrap]] github \
 
   --token-auth \
 
   --token-auth \
 
   --owner=marcel-dempers \
 
   --owner=marcel-dempers \

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: