Open bpereto opened 2 years ago
Hi @bpereto,
What do i miss? I use the standard
ingress-nginx
(no Target override necessary.)
I guess you have to apply some ingress that uses the domains you want it to rewrite in spec.tls.hosts
, since hairpin-proxy in fact just scans for the ingresses for their spec.tls.hosts
and have them updated to the coredns
configmap
in kube-system
.
e.g.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: foo
namespace: foo
spec:
tls:
- hosts:
- a.foo.com
- b.foo.com
secretName: foo-staging
rules:
- host: "*.foo.com"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: hello-world
port:
number: 5678
Besides, just in case, using bitnami
helm chart for ingress-nginx-controller
requires setting fullnameOverride: ingress-nginx-controller
in the values.
Thanks, Leo
but the resulting config map then does not contain the updated config with rewrites:
What do i miss? I use the standard
ingress-nginx
(no Target override necessary.)