Skip to content

Commit 96d9a54

Browse files
committed
Fix Deployment sidecar example
- #22215
1 parent 78056c1 commit 96d9a54

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/ossm-automatic-sidecar-injection.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,14 @@ When deploying an application into the {ProductName} you must opt in to injectio
2424
apiVersion: apps/v1
2525
kind: Deployment
2626
metadata:
27+
labels:
28+
app: sleep
2729
name: sleep
2830
spec:
2931
replicas: 1
32+
selector:
33+
matchLabels:
34+
app: sleep
3035
template:
3136
metadata:
3237
annotations:

0 commit comments

Comments
 (0)