Skip to content

Commit ee1f051

Browse files
authored
Merge pull request #3018 from mwringe/bz-1381336
Bug 1381336, deploy metrics as the deployer service account.
2 parents bba0441 + 4fb98b1 commit ee1f051

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

install_config/cluster_metrics.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,8 @@ The following command sets the Hawkular Metrics route to use
583583
You must have a persistent volume of sufficient size available.
584584
585585
----
586-
$ oc new-app -f metrics-deployer.yaml \
586+
$ oc new-app --as=system:serviceaccount:openshift-infra:metrics-deployer \
587+
-f metrics-deployer.yaml \
587588
-p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com
588589
----
589590
====
@@ -594,7 +595,8 @@ The following command sets the Hawkular Metrics route to use
594595
*hawkular-metrics.example.com* and deploy without persistent storage.
595596
596597
----
597-
$ oc new-app -f metrics-deployer.yaml \
598+
$ oc new-app --as=system:serviceaccount:openshift-infra:metrics-deployer \
599+
-f metrics-deployer.yaml \
598600
-p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com \
599601
-p USE_PERSISTENT_STORAGE=false
600602
----
@@ -628,7 +630,8 @@ validation by running the deployer again with the `*MODE=validate*` parameter
628630
added, for example:
629631

630632
----
631-
$ oc new-app -f metrics-deployer.yaml \
633+
$ oc new-app --as=system:serviceaccount:openshift-infra:metrics-deployer \
634+
-f metrics-deployer.yaml \
632635
-p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com \
633636
-p MODE=validate
634637
----

0 commit comments

Comments
 (0)