Skip to content

Commit 7dc6cb5

Browse files
ppatiernotimflannagan
authored andcommitted
Fixed CSV deployments label field doc
Signed-off-by: Paolo Patierno <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: a0cc5d83409bf48008f1d67f5509d6a4b0fe9a50
1 parent 929df25 commit 7dc6cb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staging/operator-lifecycle-manager/doc/design/building-your-csv.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ Ensure that the `serviceAccountName` used in the `deployment` spec matches one o
314314

315315
Multiple Roles should be described to reduce the scope of any actions needed containers that the Operator may run on the cluster. For example, if you have a component that generates a TLS Secret upon start up, a Role that allows `create` but not `list` on Secrets is more secure than using a single all-powerful Service Account.
316316

317-
It is also possible to set custom labels for Deployment in addition to the system labels set by the OLM. This labels should be present in the `labels` fields of the `deployments` section.
317+
It is also possible to set custom labels for Deployment in addition to the system labels set by the OLM. This labels should be present in the `label` fields of the `deployments` section.
318318

319319
Here’s a full example:
320320

@@ -323,7 +323,7 @@ Here’s a full example:
323323
spec:
324324
deployments:
325325
- name: example-operator
326-
labels:
326+
label:
327327
application: example-operator
328328
technology: general
329329
spec:

0 commit comments

Comments
 (0)