Difference between revisions of "Flux bootstrap github"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
[[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]] | ||
+ | |||
+ | |||
+ | 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 == | == See also == |
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]
- Flux,
helm-controller, flux [ install | bootstrap | check | push ], flux --help, kind: GitRepository
Advertising: