Skip to content

Commit

Permalink
Merge pull request openshift#271 from s-urbaniak/bz-1679500
Browse files Browse the repository at this point in the history
pkg/tasks/prometheus: update kubelet serving CA if it changed
  • Loading branch information
openshift-merge-robot authored Feb 27, 2019
2 parents 4981216 + 75954e7 commit 4f0b730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tasks/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (t *PrometheusTask) Run() error {
return errors.Wrap(err, "initializing kubelet serving CA Bundle ConfigMap failed")
}

err = t.client.CreateIfNotExistConfigMap(cacm)
err = t.client.CreateOrUpdateConfigMap(cacm)
if err != nil {
return errors.Wrap(err, "creating kubelet serving CA Bundle ConfigMap failed")
}
Expand Down

0 comments on commit 4f0b730

Please sign in to comment.