-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helm charts redirect #81
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for in-toto ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
In order to support assets inside of other domains (e.g., our github pages), we need to add support for sending 301/302 replies. Add a layout that provides a redirect to the configured target. This uses a template such as: --- type: redirect target: location --- This is inspired by this blogpost: https://blog.builtwithcaffeine.cloud/posts/hugo-url-redirect/ Signed-off-by: Santiago Torres-Arias <[email protected]>
Our helm-charts subproject requires a repository hosted on github pages (for simplicity). Add a redirect endpoint in in-toto.io to our github pages for helm-charts. Signed-off-by: Santiago Torres-Arias <[email protected]>
b05a53c
to
c7f40b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very interesting, I didn't know about that Hugo functionality ... and can't even find any reference to it in the Hugo docs. nor (after a quick search) in the Hugo code repo. Found it: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/alias.html
Can you offer any referenes @SantiagoTorres?
Following the site rework of #86, this PR will need to be reimplemented. Let me give it a try.
Let's track any discussion via: |
We need to host our helm-charts repository on github pages (to decouple updating the repository) for that project. Let's add a redirect on netlify to that github repo for ease of discovery as well.