flagger
flagger copied to clipboard
Turn flagger.app into redirects to fluxcd.io/flagger
With https://github.com/fluxcd/website/pull/903 being merged we have all the Flagger docs available at https://fluxcd.io/flagger/ (built from /fluxcd/website).
After a while of co-existence, we should turn flagger.app and docs.flagger.app into redirects.
@stefanprodan @aryan9600 What would be involved in doing this move? Is it about setting up a small repository with a _redirects
file that we can hook up to a Netlify instance, then cut over DNS through LinuxFoundation IT?
Maybe let's work on docs.flagger.app first. The landing page can probably remain for some time.
So it looks like this works:
- https://github.com/dholbach/flagger-redirects for the setup of a minimal redirects farm
- https://630db9dac9527a1402aee11f--bejewelled-gumption-27f3d3.netlify.app/ as the site it generates
Could we push the redirects config into a redirects
branch in fluxcd/flagger
?
Then in a next step, configure Netlify under Flux, then talk to LinuxFoundation IT people to change DNS?
As per our discussion on Slack earlier, I added support for versioned links to dholbach/flagger-redirects
as well.
e.g. https://bejewelled-gumption-27f3d3.netlify.app/v/main/install/flagger-install-on-kubernetes for https://docs.flagger.app/v/main/install/flagger-install-on-kubernetes gets redirected to https://fluxcd.io/flagger/install/flagger-install-on-kubernetes/ correctly.
What I suggest we do next
- [x] Push https://github.com/dholbach/flagger-redirects to e.g. a
redirects
branch underfluxcd/flagger
- [x] Set up docs.flagger.app in Flux's Netlify to build from this ^
- [x] Verify it works
--- above would not change anything in the real world just yet ---
Then:
- [ ] Talk to LinuxFoundation IT to help us move DNS
- [ ] Verify it works
- [ ] Remove docs from
fluxcd/flagger
and leave instructions on where to find the docs from now on. - Done :fireworks:
Tried e.g. https://flagger-docs.netlify.app/v/main/tutorials and https://flagger-docs.netlify.app/tutorials and it works.