We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92aca4e commit b0066f9Copy full SHA for b0066f9
pkg/controller/controller.go
@@ -284,6 +284,8 @@ func (c *HAProxyController) setupHAProxyRules() error {
284
// clean haproxy config state
285
func (c *HAProxyController) clean(failedSync bool) {
286
c.haproxy.Clean()
287
+ // Need to do that even if transaction failed otherwise at fix time, they won't be reprocessed.
288
+ c.store.BackendProcessed = map[string]struct{}{}
289
logger.Error(c.setupHAProxyRules())
290
if !failedSync {
291
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