November 2019
Intermediate to advanced
408 pages
9h 56m
English
To allow Flux to access GitHub, we need to add its secret key as a valid deploy key. Using fluxctl, it is easy to get the current ssh key; just run the following command:
$ fluxctl identity --k8s-fwd-ns fluxssh-rsa <secret key>
With that information, go to the Settings | Deploy keys section on your forked GitHub project. Fill the title with a descriptive name, the Key section with your secret key as obtained before, and then select Add key:

Be sure to select the checkbox for Allow write access. Now, Flux will be able to contact GitHub.
The next step is to synchronize the state on GitHub and the cluster.
Read now
Unlock full access