uselagoon / lagoon-linter

Linter for .lagoon.yml
Apache License 2.0
0 stars 2 forks source link

Add deprecation for insecure routes option, `None` #22

Open rocketeerbkw opened 1 year ago

rocketeerbkw commented 1 year ago

Routes have an insecure field that can be set to Allow, Redirect, or None. The None option used to block any HTTP connections under openshfit, but in kubernetes we've configured it to be the same as Redirect. We can throw deprecations for None because it no longer works the way it was documented.

It could be set for autogenerated routes:

routes:
  autogenerate:
    insecure: None

and/or for manual routes:

environments:
  main:
    routes:
      - nginx:
        - "www.example.com":
            insecure: None