Skip to content

Commit 60a9931

Browse files
committed
Document decryption annotation
Signed-off-by: danhubern <[email protected]>
1 parent 01d48d7 commit 60a9931

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/spec/v1/kustomizations.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,6 +1264,17 @@ data:
12641264
sops.vault-token: <BASE64>
12651265
```
12661266

1267+
### Controlling the decryption behavior of resources
1268+
1269+
To change the decryption behaviour for specific Kubernetes resources, you can annotate them with:
1270+
1271+
| Annotation | Default | Values | Role |
1272+
|-------------------------------------|------------|----------------------------------------------------------------|-----------------|
1273+
| `kustomize.toolkit.fluxcd.io/decrypt` | `Enabled` | - `Enabled`<br/>- `Disabled` | Decryption policy |
1274+
1275+
#### Disabled
1276+
The `Disabled` policy instructs the controller to not decrypt Kubernetes resources. This might be useful if there is another entity that is going to decrpyt the resource later.
1277+
12671278
## Working with Kustomizations
12681279

12691280
### Recommended settings

0 commit comments

Comments
 (0)