obukhov / ingress-redirector

Helm chart for creating ingress configuration to redirect traffic from one domain to another

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ingress-redirector

Helm chart for creating ingress configuration to redirect traffic from one domain to another

Requires nginx based ingress controller, but do not require any running pods or deployments.

Syntax error in configuration will block configuration reload on the ingress controller level. See more: Disadvantages of Using Snippets

See values.yaml for configuration instructions:

namespace: ingress-redirector

## Defaults to nginx
# ingressClassName: "nginx"

ingress:
## Uncomment to choose certificate manager and other annotations
#  annotations:
#    cert-manager.io/cluster-issuer: "letsencrypt-prod"
 
  hosts:
    - host: old-domain.tld

## TLS rules if applicable
#  tls:
#    - secretName: ingress-redirector-certificate
#      hosts:
#        - old-domain.tld

## Set of redirect rules, from is a path, but to is a full URL
redirectRules: []
#  - from: /path
#    to: https://new-domain.tld/newpath
#    code: 301
#  - from: /
#    to: https://new-domain.tld/
#    code: 302

About

Helm chart for creating ingress configuration to redirect traffic from one domain to another

License:MIT License


Languages

Language:Mustache 100.0%