Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit 30c9dac

Browse files
authored
Merge pull request #71 from Abirdcfly/fixdoc
update doc:Use single quotation marks when there is an exclamation point
2 parents d189342 + 78c7066 commit 30c9dac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/user-guide/how-to.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,11 @@ namespaces, and the parent namespace has a secret called `my-secret`. To set
373373
```bash
374374
kubectl annotate secret my-secret -n parent propagate.hnc.x-k8s.io/treeSelect=child1
375375
# OR
376-
kubectl annotate secret my-secret -n parent propagate.hnc.x-k8s.io/treeSelect="!child2, !child3"
376+
kubectl annotate secret my-secret -n parent propagate.hnc.x-k8s.io/treeSelect='!child2, !child3'
377377
# OR
378378
kubectl annotate secret my-secret -n parent propagate.hnc.x-k8s.io/select=child1.tree.hnc.x-k8s.io/depth
379379
# OR
380-
kubectl annotate secret my-secret -n parent propagate.hnc.x-k8s.io/select="!child2.tree.hnc.x-k8s.io/depth, !child3.tree.hnc.x-k8s.io/depth"
380+
kubectl annotate secret my-secret -n parent propagate.hnc.x-k8s.io/select='!child2.tree.hnc.x-k8s.io/depth, !child3.tree.hnc.x-k8s.io/depth'
381381
```
382382

383383
To set `my-secret` not to propagate to any namespace, you can use:

0 commit comments

Comments
 (0)