Skip to content

Commit

Permalink
Add a sources section (to separate it from targets)
Browse files Browse the repository at this point in the history
Signed-off-by: Julio Camarero <[email protected]>
  • Loading branch information
juliocamarero committed Oct 25, 2024
1 parent b7d2692 commit fad2c04
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions content/docs/trust/trust-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,26 +103,28 @@ spec:
linkerd.io/inject: "enabled"
```
All sources and target options are documented in the trust-manager [API reference documentation](./api-reference.md).
#### Sources
`Bundle` resources currently support several source types:

- `configMap` - a `ConfigMap` resource in the trust-manager namespace
- `secret` - a `Secret` resource in the trust-manager namespace
- `inLine` - a manually specified string containing at least one certificate
- `useDefaultCAs` - usually, a bundle of publicly trusted certificates

`ConfigMap` is the default target type, but as of v0.7.0 trust-manager also supports `Secret` resources as targets.

Support for `Secret` targets must be explicitly enabled in the trust-manager controller; see details below under "Enable Secret targets".

Both `ConfigMap` and `Secret` also support specifying label selectors to select multiple resources at once, which is useful in dynamic
environments where the name of the `ConfigMap` or `Secret` is known only at runtime. When adding a source, either of type `ConfigMap` or `Secret`,
the fields `name` and `selector` are mutually exclusive: one **must** be set, but not both.


All sources and target options are documented in the trust-manager [API reference documentation](./api-reference.md).

#### Targets

`ConfigMap` is the default target type, but as of v0.7.0 trust-manager also supports `Secret` resources as targets.

Support for `Secret` targets must be explicitly enabled in the trust-manager controller; see details below under "Enable Secret targets".

All `Bundle` targets are written to `ConfigMap`s (and/or `Secret`s) whose name matches that of the
`Bundle`, and every target has a PEM-formatted bundle included.

Expand Down

0 comments on commit fad2c04

Please sign in to comment.