Skip to content

Conversation

@JulianNymark
Copy link
Contributor

@JulianNymark JulianNymark commented Jan 9, 2026

it seems like the docs have a small mistake (missing some quotes around true)

relevant failing build

https://github.com/navikt/webapps-felgen/actions/runs/20845261937/job/59887409648
image

potentially relevant line in naiserator:

https://github.com/nais/naiserator/blob/master/pkg/resourcecreator/ingress/redirect.go#L51

Really glad for nais-doc having a nix flake by the way 🤩, makes it easy to install deps and set up config, didn't have to deal with asdf, poetry, make... one is usually not super motivated to go through those motions when it's just a small typo fix, so having nix flake == ❤️!

!!! info "Explicit redirect permission"
The ingress being redirected has to have `nais.io/allow-redirect: true` set.
This can be set as an annotation in the application spec.
The ingress being redirected has to set the following
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is the best way to do it, but I wanted to be more explicit about the docs yaml, since newbies might not be super familiar with the yaml structure? Or maybe they are, and a link to the example full yaml is better? Having a big multiline code block inside this alert/panel is not ideal 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the important part was to get "true" in there.

@Kyrremann Kyrremann merged commit 3796cca into nais:main Jan 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants