Use checksum of dnsmasq config to trigger updates of dnsmasq

Allows config changes made by Ansible to restart dnsmasq deployment
This commit is contained in:
Matthew Mosesohn
2017-03-22 13:02:39 +03:00
parent 04746fc4d8
commit 8b0b500c89
2 changed files with 9 additions and 1 deletions

View File

@@ -12,11 +12,14 @@ spec:
selector:
matchLabels:
k8s-app: dnsmasq
strategy:
type: "Recreate"
template:
metadata:
labels:
k8s-app: dnsmasq
kubernetes.io/cluster-service: "true"
kargo/dnsmasq-checksum: "{{ dnsmasq_stat.stat.checksum }}"
spec:
containers:
- name: dnsmasq