Skip to content

Commit

Permalink
BUG/MINOR: Update config on ConfigMap added event
Browse files Browse the repository at this point in the history
  • Loading branch information
toshokan authored and Mo3m3n committed May 10, 2021
1 parent 65273f4 commit e1f12b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controller/store/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ func (k *K8s) EventConfigMap(ns *Namespace, data *ConfigMap) (updateRequired boo
}
*cm = *data
cm.Loaded = true
updateRequired = true
logger.Debugf("configmap '%s/%s' processed", cm.Namespace, cm.Name)
case MODIFIED:
different := data.Annotations.SetStatus(cm.Annotations)
Expand Down

0 comments on commit e1f12b5

Please sign in to comment.