Merge pull request #1497 from mdonoughe/ipv6

also whitelist ipv6
This commit is contained in:
jetstack-bot 2019-03-26 16:45:23 +00:00 committed by GitHub
commit 4f67c80da1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ func buildIngressResource(ch *v1alpha1.Challenge, svcName string) *extv1beta1.In
podLabels := podLabels(ch)
// TODO: add additional annotations to help workaround problematic ingress controller behaviours
ingAnnotations := make(map[string]string)
ingAnnotations["nginx.ingress.kubernetes.io/whitelist-source-range"] = "0.0.0.0/0"
ingAnnotations["nginx.ingress.kubernetes.io/whitelist-source-range"] = "0.0.0.0/0,::/0"
if ingClass != nil {
ingAnnotations[util.IngressKey] = *ingClass