1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-17 23:49:06 +00:00

Adding DNS Policy support for nginx ingress controller

This commit is contained in:
Chris Kim
2019-08-23 15:52:31 -07:00
committed by Alena Prokharchyk
parent c5fefd5c77
commit 5cb6699fe3
2 changed files with 12 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ type ingressOptions struct {
Options map[string]string
NodeSelector map[string]string
ExtraArgs map[string]string
DNSPolicy string
AlpineImage string
IngressImage string
IngressBackend string
@@ -485,6 +486,7 @@ func (c *Cluster) deployIngress(ctx context.Context, data map[string]interface{}
Options: c.Ingress.Options,
NodeSelector: c.Ingress.NodeSelector,
ExtraArgs: c.Ingress.ExtraArgs,
DNSPolicy: c.Ingress.DNSPolicy,
IngressImage: c.SystemImages.Ingress,
IngressBackend: c.SystemImages.IngressBackend,
}