diff --git a/install_config/cluster_metrics.adoc b/install_config/cluster_metrics.adoc index 2972f7d7ba45..747171362c3d 100644 --- a/install_config/cluster_metrics.adoc +++ b/install_config/cluster_metrics.adoc @@ -582,7 +582,8 @@ The following command sets the Hawkular Metrics route to use You must have a persistent volume of sufficient size available. ---- -$ oc new-app -f metrics-deployer.yaml \ +$ oc new-app --as=system:serviceaccount:openshift-infra:metrics-deployer \ + -f metrics-deployer.yaml \ -p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com ---- ==== @@ -593,7 +594,8 @@ The following command sets the Hawkular Metrics route to use *hawkular-metrics.example.com* and deploy without persistent storage. ---- -$ oc new-app -f metrics-deployer.yaml \ +$ oc new-app --as=system:serviceaccount:openshift-infra:metrics-deployer \ + -f metrics-deployer.yaml \ -p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com \ -p USE_PERSISTENT_STORAGE=false ---- @@ -627,7 +629,8 @@ validation by running the deployer again with the `*MODE=validate*` parameter added, for example: ---- -$ oc new-app -f metrics-deployer.yaml \ +$ oc new-app --as=system:serviceaccount:openshift-infra:metrics-deployer \ + -f metrics-deployer.yaml \ -p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com \ -p MODE=validate ----