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

kvn 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 2204a29  fix: modify config.yaml path to /ingress-apisix/conf/ (#154)
2204a29 is described below

commit 2204a296a87a8a716c8f79c767a15d708f1e7aec
Author: kv <gxt...@163.com>
AuthorDate: Mon Jan 4 20:04:33 2021 +0800

    fix: modify config.yaml path to /ingress-apisix/conf/ (#154)
---
 Dockerfile                                        | 2 +-
 samples/deploy/deployment/ingress-controller.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 9059cbf..1e41add 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -36,4 +36,4 @@ RUN apk add --no-cache ca-certificates libc6-compat \
 COPY --from=build-env /build/apisix-ingress-controller .
 COPY --from=build-env /usr/share/zoneinfo/Hongkong /etc/localtime
 
-ENTRYPOINT ["/ingress-apisix/apisix-ingress-controller", "ingress", 
"--config-path", "/ingress-apisix/config.yaml"]
+ENTRYPOINT ["/ingress-apisix/apisix-ingress-controller", "ingress", 
"--config-path", "/ingress-apisix/conf/config.yaml"]
diff --git a/samples/deploy/deployment/ingress-controller.yaml 
b/samples/deploy/deployment/ingress-controller.yaml
index 24ca2be..98267f9 100644
--- a/samples/deploy/deployment/ingress-controller.yaml
+++ b/samples/deploy/deployment/ingress-controller.yaml
@@ -47,7 +47,7 @@ spec:
         - containerPort: 8080
           hostPort: 8080
         volumeMounts:
-        - mountPath: /ingress-apisix/config.yaml
+        - mountPath: /ingress-apisix/conf/config.yaml
           name: apisix-ingress-configmap
           subPath: config.yaml
       volumes:

Reply via email to