You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by to...@apache.org on 2021/05/27 09:33:09 UTC

[apisix-ingress-controller] branch master updated: chore: add dnsPolicy for sample deployment (#498)

This is an automated email from the ASF dual-hosted git repository.

tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 553655b  chore: add dnsPolicy for sample deployment (#498)
553655b is described below

commit 553655b1148360795a71b27117898ff5642be8a5
Author: Jintao Zhang <ta...@163.com>
AuthorDate: Thu May 27 17:32:33 2021 +0800

    chore: add dnsPolicy for sample deployment (#498)
    
    Signed-off-by: Jintao Zhang <zh...@gmail.com>
---
 samples/deploy/deployment/ingress-controller.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/samples/deploy/deployment/ingress-controller.yaml b/samples/deploy/deployment/ingress-controller.yaml
index eae43e1..eaca8dd 100644
--- a/samples/deploy/deployment/ingress-controller.yaml
+++ b/samples/deploy/deployment/ingress-controller.yaml
@@ -39,6 +39,7 @@ spec:
         tier: backend
     spec:
       hostNetwork: true
+      dnsPolicy: ClusterFirstWithHostNet
       containers:
       - image: apache/apisix-ingress-controller:0.1.0
         imagePullPolicy: IfNotPresent