Skip to content

Commit

Permalink
Merge pull request #2198 from ppatierno/fix-csv-label-doc
Browse files Browse the repository at this point in the history
Fixed CSV deployments label field doc
  • Loading branch information
openshift-merge-robot authored Jun 30, 2021
2 parents a4d4ab6 + a0cc5d8 commit 20ded32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/design/building-your-csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ Ensure that the `serviceAccountName` used in the `deployment` spec matches one o

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.

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.
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.

Here’s a full example:

Expand All @@ -323,7 +323,7 @@ Here’s a full example:
spec:
deployments:
- name: example-operator
labels:
label:
application: example-operator
technology: general
spec:
Expand Down

0 comments on commit 20ded32

Please sign in to comment.