From a5e6af5ee60667cb0fddb046cfe11e862207d22f Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Mon, 8 Oct 2018 16:50:24 -0300 Subject: [PATCH] Disable resync period --- .travis.yml | 6 +++--- Changelog.md | 6 ++++++ Makefile | 2 +- pkg/controller/main.go | 2 +- vip-daemonset-proxy.yaml | 2 +- vip-daemonset.yaml | 2 +- 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 72a1e18e..0bdbaafa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ notifications: email: true go: - - 1.9 + - 1.11.1 go_import_path: github.com/aledbf/kube-keepalived-vip @@ -22,11 +22,11 @@ env: jobs: include: - stage: Static Check - script: + script: - go get github.com/golang/lint/golint - make fmt lint vet - stage: Coverage - script: + script: - go get github.com/mattn/goveralls - go get github.com/modocache/gover - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi diff --git a/Changelog.md b/Changelog.md index c8f3eb09..fa3cd7f7 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,9 @@ +# Changelog + +## 0.29 + +- Disable resync period + ## 0.28 - Update keepalived to v2.0.7 diff --git a/Makefile b/Makefile index 40e9c0e7..0a57f833 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ all: push # 0.0 shouldn't clobber any release builds -TAG = 0.28 +TAG = 0.29 HAPROXY_TAG = 0.1 # Helm uses SemVer2 versioning CHART_VERSION = 0.1.1 diff --git a/pkg/controller/main.go b/pkg/controller/main.go index 5f5562df..1f5edb3b 100644 --- a/pkg/controller/main.go +++ b/pkg/controller/main.go @@ -50,7 +50,7 @@ import ( ) const ( - resyncPeriod = 10 * time.Minute + resyncPeriod = 0 ) type service struct { diff --git a/vip-daemonset-proxy.yaml b/vip-daemonset-proxy.yaml index 7e740d47..74f78040 100644 --- a/vip-daemonset-proxy.yaml +++ b/vip-daemonset-proxy.yaml @@ -22,7 +22,7 @@ spec: volumeMounts: - name: haproxy mountPath: /etc/haproxy - - image: aledbf/kube-keepalived-vip:0.28 + - image: aledbf/kube-keepalived-vip:0.29 name: kube-keepalived-vip securityContext: privileged: true diff --git a/vip-daemonset.yaml b/vip-daemonset.yaml index e0bc7544..1bb89d37 100644 --- a/vip-daemonset.yaml +++ b/vip-daemonset.yaml @@ -10,7 +10,7 @@ spec: spec: hostNetwork: true containers: - - image: aledbf/kube-keepalived-vip:0.28 + - image: aledbf/kube-keepalived-vip:0.29 name: kube-keepalived-vip imagePullPolicy: Always securityContext: