Closed karthik012 closed 3 years ago
You can’t change the path of an existing install, so either uninstall flux or use the same path as before to upgrade.
I am on a windows machine, and had unzipped this release flux_0.12.3_windows_386.zip and added to the path. Could you please let me know what you meant by Uninstalling ? because removal of this exe would not recognize flux or what is the upgrade you have mentioned above ?
You have Flux running on your cluster already, the error message tells you that you can’t change it to a new path.
@stefanprodan thanks for pointing it out. Missed it. Works fine now.!
also had this issue, coming from a previous tutorial. might be worthwhile to include something like "if flux is already installed or coming from the main tutorial (which links here), please `flux uninstall"
The following error occurs during the bootstrap: Any hints on this ?
$ flux bootstrap github --owner=${GITHUB_USER} --repository=${GITHUB_REPO} --branch=master --path=clusters/staging --personal ► connecting to github.com ✔ repository "https://github.com/xxxxxxx/flux2-kustomize-helm-example" created ► cloning branch "master" from Git repository "https://github.com/xxxxxxx/flux2-kustomize-helm-example.git" ✔ cloned repository ► generating component manifests ✔ generated component manifests ✔ committed sync manifests to "master" ("60adc00a8e500b024dc6059cbcb605297e10aa5c") ► pushing component manifests to "https://github.com/xxxxxx/flux2-kustomize-helm-example.git" ✔ reconciled components ► determining if source secret "flux-system/flux-system" exists ✔ source secret up to date ✗ sync path configuration ("./clusters/staging") would overwrite path ("./clusters/my-cluster") of existing Kustomization