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 ece373c  feat: reload deployment when config changed (#253)
ece373c is described below

commit ece373c36a016bb33eee4ccb51902dfde755c965
Author: Jun <[email protected]>
AuthorDate: Wed Feb 17 18:50:57 2021 +0800

    feat: reload deployment when config changed (#253)
---
 charts/apisix-ingress-controller/templates/deployment.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/charts/apisix-ingress-controller/templates/deployment.yaml 
b/charts/apisix-ingress-controller/templates/deployment.yaml
index c71761b..c87a5ff 100644
--- a/charts/apisix-ingress-controller/templates/deployment.yaml
+++ b/charts/apisix-ingress-controller/templates/deployment.yaml
@@ -29,6 +29,8 @@ spec:
       {{- include "apisix-ingress-controller.selectorLabels" . | nindent 6 }}
   template:
     metadata:
+      annotations:
+        checksum/config: {{ include (print $.Template.BasePath 
"/configmap.yaml") . | sha256sum }}
       labels:
         {{- include "apisix-ingress-controller.selectorLabels" . | nindent 8 }}
     spec:

Reply via email to