We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 612aaf6 commit 15f4861Copy full SHA for 15f4861
pkg/controller/controller.go
@@ -260,6 +260,8 @@ func (c *HAProxyController) setupHAProxyRules() error {
260
// clean haproxy config state
261
func (c *HAProxyController) clean(failedSync bool) {
262
c.haproxy.Clean()
263
+ // Need to do that even if transaction failed otherwise at fix time, they won't be reprocessed.
264
+ c.store.BackendProcessed = map[string]struct{}{}
265
logger.Error(c.setupHAProxyRules())
266
if !failedSync {
267
c.store.Clean()
pkg/store/store.go
@@ -134,7 +134,6 @@ func (k *K8s) Clean() {
134
}
135
136
k.SecretsProcessed = map[string]struct{}{}
137
- k.BackendProcessed = map[string]struct{}{}
138
139
140
// GetNamespace returns Namespace. Creates one if not existing
0 commit comments