Skip to content

Commit 02328c9

Browse files
committed
router: remove useless annotations
1 parent 12e82e8 commit 02328c9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/oc/admin/router/router.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -795,10 +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"
800-
t.Annotations["prometheus.openshift.io/username"] = cfg.StatsUsername
801-
t.Annotations["prometheus.openshift.io/password"] = cfg.StatsPassword
802798
t.Spec.ClusterIP = clusterIP
803799
for j, servicePort := range t.Spec.Ports {
804800
for _, targetPort := range ports {

0 commit comments

Comments
 (0)