Skip to content

Commit 5ad9ba5

Browse files
committed
router: remove useless annotations
1 parent 12e82e8 commit 5ad9ba5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/oc/admin/router/router.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,8 +795,6 @@ func RunCmdRouter(f *clientcmd.Factory, cmd *cobra.Command, out, errout io.Write
795795
if t.Annotations == nil {
796796
t.Annotations = make(map[string]string)
797797
}
798-
t.Annotations["prometheus.io/scrape"] = "true"
799-
t.Annotations["prometheus.io/port"] = "1936"
800798
t.Annotations["prometheus.openshift.io/username"] = cfg.StatsUsername
801799
t.Annotations["prometheus.openshift.io/password"] = cfg.StatsPassword
802800
t.Spec.ClusterIP = clusterIP

0 commit comments

Comments
 (0)