Skip to content

Commit 7a926f5

Browse files
committed
fix markdown format issue
Signed-off-by: hwassman <[email protected]>
1 parent 466255f commit 7a926f5

File tree

3 files changed

+23
-17
lines changed
  • examples/openshift_deployment_scripts/examples_for_grafana-operator_v5

3 files changed

+23
-17
lines changed

examples/openshift_deployment_scripts/examples_for_grafana-operator_v5/grafana_datasource_deployment/README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,35 @@
33

44
Using the scripts in this folder you can deploy a GrafanaDatasource instance for the IBM Spectrum Scale Performance Monitoring Bridge for Grafana running in in the project 'grafana-for-cnsa'
55

6-
```
6+
```shell
77
NAMESPACE=grafana-for-cnsa
88
```
9-
```
9+
```shell
1010
echo $NAMESPACE
1111
```
12-
```
12+
```shell
1313
oc label namespace $NAMESPACE scale.spectrum.ibm.com/networkpolicy=allow
1414
```
15-
```
15+
```shell
1616
oc adm policy add-cluster-role-to-user ibm-spectrum-scale-operator -z grafana-for-cnsa-sa
1717
```
18-
```
18+
```shell
1919
oc apply -f bridge-tls-secret-v5.yaml
20+
```
21+
```shell
2022
TLS_CERT=`oc get secret ibm-spectrum-scale-grafana-bridge-service-cert -n ibm-spectrum-scale -o json |jq '.data["tls.crt"]' | tr -d \"`
23+
```
24+
```shell
2125
TLS_KEY=`oc get secret ibm-spectrum-scale-grafana-bridge-service-cert -n ibm-spectrum-scale -o json |jq '.data["tls.key"]' | tr -d \"`
22-
23-
oc get secrets grafana-bridge-tls-cert -n $NAMESPACE -o json | jq ".data[\"tls.key\"] |= \"$TLS_KEY\"" | jq ".data[\"tls.crt\"] |= \"$TLS_CERT\""| oc apply -f -
2426
```
27+
```shell
28+
oc get secrets grafana-bridge-tls-cert -n $NAMESPACE -o json \
29+
| jq ".data[\"tls.key\"] |= \"$TLS_KEY\"" | jq ".data[\"tls.crt\"] |= \"$TLS_CERT\""| oc apply -f -
2530
```
31+
```shell
2632
oc apply -f grafana-bridge-datasource-v5.yaml --namespace=$NAMESPACE
2733
```
28-
```
34+
```shell
2935
oc describe GrafanaDatasource bridge-grafanadatasource --namespace=$NAMESPACE
3036
```
3137

examples/openshift_deployment_scripts/examples_for_grafana-operator_v5/grafana_deployment/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33

44
Using the scripts in this folder you can deploy a Grafana instance in the project 'grafana-for-cnsa'
55

6-
```
6+
```shell
77
NAMESPACE=grafana-for-cnsa
88
```
9-
```
9+
```shell
1010
echo $NAMESPACE
1111
```
12-
```
12+
```shell
1313
oc new-project $NAMESPACE
1414
```
15-
```
15+
```shell
1616
oc apply -f operator-group-v5.yaml --namespace=$NAMESPACE
1717
```
18-
```
18+
```shell
1919
oc apply -f grafana-operator-subscription-v5.yaml --namespace=$NAMESPACE
2020
```
21-
```
21+
```shell
2222
oc apply -f grafana-instance-for-cnsa-v5.yaml --namespace=$NAMESPACE
2323
```
2424

examples/openshift_deployment_scripts/examples_for_grafana-operator_v5/provision_dashboard/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
Using the scripts in this folder you can provision an example dashboard to the Grafana instance running in the project 'grafana-for-cnsa'
55

6-
```
6+
```shell
77
NAMESPACE=grafana-for-cnsa
88
```
9-
```
9+
```shell
1010
echo $NAMESPACE
1111
```
12-
```
12+
```shell
1313
oc apply -f cnsa-cluster-simple-dashboard-v5.yaml --namespace=$NAMESPACE
1414
```

0 commit comments

Comments
 (0)