UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

add conditional for https redirects and use hosts instead of wildcard

Closes #39 (closed)

Closes #49 (closed)

These changes add in logic to use the servers.hosts entries in the auto-generated http->https redirect blocks instead of the global-matching "*"

In addition, the auto-generated redirect blocks can be enabled or disabled by redirectHttpToHttps.enabled value. If redirectHttpToHttps is not defined, the default is to generate the block.

The values file:

values-file

The generated Gateway definition:

generated-gateway

Edited by Michael Martin

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Michael McLeroy
  • Michael Martin added 1 commit

    added 1 commit

    • 65d7d48d - add conditional for only https hosts

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading