diff --git a/slides/flux/bootstrap.md b/slides/flux/bootstrap.md index 1809e99b..48256c82 100644 --- a/slides/flux/bootstrap.md +++ b/slides/flux/bootstrap.md @@ -78,7 +78,7 @@ Prerequisites are: - `Flux` _CLI_ needs a `Github` personal access token (_PAT_) - to create and/or access the `Github` repository - to give permissions to existing teams in our `Github` organization - - The PAT needs _CRUD_ permissions on our `Github` organization + - The _PAT_ needs _CRUD_ permissions on our `Github` organization - repositories - As **_⚙️OPS_** team, let's creates a `Github` personal access token… @@ -181,6 +181,22 @@ Here is the result --- +### The PAT is not needed anymore! + +- During the install process, `Flux` creates an `ssh` key pair so that it is able to contribute to the `Github` repository. + +```bash +► generating source secret +✔ public key: ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBFqaT8B8SezU92qoE+bhnv9xONv9oIGuy7yVAznAZfyoWWEVkgP2dYDye5lMbgl6MorG/yjfkyo75ETieAE49/m9D2xvL4esnSx9zsOLdnfS9W99XSfFpC2n6soL+Exodw== +✔ configured deploy key "flux-system-main-flux-system-./clusters/CLOUDY" for "https://github.com/container-training-fleet/fleet-config-using-flux-XXXXX" +► applying source secret "flux-system/flux-system" +✔ reconciled source secret +``` + +- You can now delete the formerly created _Personal Access Token_: `Flux` won't use it anymore. + +--- + ### 📂 Flux config files `Flux` has been successfully installed onto our **_☁️CLOUDY_** Kubernetes cluster!