Skip to content

Commit

Permalink
add addtional comment for correct usage of httpsRedirect
Browse files Browse the repository at this point in the history
Signed-off-by: Pinnow René <rene.pinnow.bu@gmail.com>
  • Loading branch information
Pinnow René committed Feb 14, 2025
1 parent 2271012 commit 8c9321e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions charts/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,8 @@ alertmanager:
# - name: acme-gw

# -- create http route for redirect (https://gateway-api.sigs.k8s.io/guides/http-redirect-rewrite/#http-to-https-redirects)
## Take care that you only enable this on the http listener of the gateway to avoid an infinite redirect.
## matches, filters and additionalRules will be ignored if this is set to true. Be are
httpsRedirect: false

matches:
Expand Down Expand Up @@ -3591,12 +3593,14 @@ prometheus:
# - name: acme-gw

# -- create http route for redirect (https://gateway-api.sigs.k8s.io/guides/http-redirect-rewrite/#http-to-https-redirects)
## Take care that you only enable this on the http listener of the gateway to avoid an infinite redirect.
## matches, filters and additionalRules will be ignored if this is set to true. Be are
httpsRedirect: false

matches:
- path:
type: PathPrefix
value: /
- path:
type: PathPrefix
value: /

## Filters define the filters that are applied to requests that match this rule.
filters: []
Expand Down Expand Up @@ -4748,8 +4752,9 @@ thanosRuler:
parentRefs: []
# - name: acme-gw

## create http route for https redirect (https://gateway-api.sigs.k8s.io/guides/http-redirect-rewrite/#http-to-https-redirects).
## matches, filters and additionalRules will be ignored if this is set to true
# -- create http route for redirect (https://gateway-api.sigs.k8s.io/guides/http-redirect-rewrite/#http-to-https-redirects)
## Take care that you only enable this on the http listener of the gateway to avoid an infinite redirect.
## matches, filters and additionalRules will be ignored if this is set to true. Be are
httpsRedirect: false

matches:
Expand Down

0 comments on commit 8c9321e

Please sign in to comment.