Skip to content

Commit 345b4c8

Browse files
committed
pkg/manifests: don't reset annotations for metrics client CA
Previously this configmap didn't have annotations set, so these were being reset to an empty map. Now it has ownership annotation, so reset to an empty map is erasing them
1 parent 23a896a commit 345b4c8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/manifests/tls.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ func (f *Factory) MetricsClientCACM(apiAuthConfigmap *v1.ConfigMap) (*v1.ConfigM
100100

101101
cm.Namespace = f.namespace
102102
cm.Data = make(map[string]string)
103-
cm.Annotations = make(map[string]string)
104103

105104
clientCA, ok := apiAuthConfigmap.Data["client-ca-file"]
106105
if !ok {

0 commit comments

Comments
 (0)