Skip to content

Commit 5a1a60a

Browse files
committed
Style fix (squash)
1 parent aa13a94 commit 5a1a60a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/ossm-automatic-sidecar-injection.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ When deploying an application, you must opt-in to injection by configuring the l
2222
$ oc get deployment -n <namespace>
2323
----
2424
+
25-
For example, to view the Deployment YAML file for the 'ratings-v1' microservice in the `bookinfo` namespace, use the following command to see the resource in YAML format.
25+
For example, to view the `Deployment` YAML file for the 'ratings-v1' microservice in the `bookinfo` namespace, use the following command to see the resource in YAML format.
2626
+
2727
[source,terminal]
2828
----
2929
oc get deployment -n bookinfo ratings-v1 -o yaml
3030
----
3131
+
32-
. Open the application's Deployment YAML file in an editor.
32+
. Open the application's `Deployment` YAML file in an editor.
3333

3434
. Add `spec.template.metadata.labels.sidecar.istio/inject` to your Deployment YAML file and set `sidecar.istio.io/inject` to `true` as shown in the following example.
3535
+
@@ -56,7 +56,7 @@ spec:
5656
Using the `annotations` parameter when enabling automatic sidecar injection is deprecated and is replaced by using the `labels` parameter.
5757
====
5858
+
59-
. Save the Deployment YAML file.
59+
. Save the `Deployment` YAML file.
6060

6161
. Add the file back to the project that contains your app.
6262
+

0 commit comments

Comments
 (0)