Skip to content

Commit

Permalink
feat: reload deployment when config changed (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
junnplus authored Feb 17, 2021
1 parent 419a76a commit ece373c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/apisix-ingress-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ece373c

Please sign in to comment.