Skip to content

Commit

Permalink
Adds docs for projects/trust Namespace Selector feature
Browse files Browse the repository at this point in the history
Signed-off-by: joshvanl <[email protected]>
  • Loading branch information
JoshVanL committed Jul 18, 2022
1 parent 1bd0d37 commit 87e460f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion content/docs/projects/trust.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,27 @@ spec:
-----END CERTIFICATE-----
target:
# Data synced to the ConfigMap `my-org.com` at the key `root-certs.pem` in
# every namespace.
# every namespace that has the label "linkerd.io/inject=enabled".
configMap:
key: "root-certs.pem"
namespaceSelector:
matchLabels:
linkerd.io/inject: "enabled"
```
Bundle currently supports the source types `configMap`, `secret` and `inLine`,
and target type `configMap`.

#### Namespace Selector

The target `namespaceSelector` can be used for scoping which Namespaces targets
are synced to, supporting the field `matchLabels`. Please see
[here](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors)
for more information and how label selectors are configured.

If `namespaceSelector` is empty, a bundle target will be synced to all
Namespaces.

---

## Installation
Expand Down

0 comments on commit 87e460f

Please sign in to comment.