Skip to content

Commit

Permalink
Update kustomize-controller options
Browse files Browse the repository at this point in the history
- Add the `--override-manager` flag
- Update the `DisableStatusPollerCache` feature gate default value

Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Dec 5, 2023
1 parent 5b29440 commit 64caa3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/en/flux/components/kustomize/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ please see the [bootstrap customization guide](/flux/installation/configuration/
| `--watch-label-selector` | string | Watch for resources with matching labels e.g. 'sharding.fluxcd.io/shard=shard1'. |
| `--feature-gates` | mapStringBool | A comma separated list of key=value pairs defining the state of experimental features. |
| `--interval-jitter-percentage` | uint8 | Percentage of jitter to apply to interval durations. A value of 10 will apply a jitter of +/-10% to the interval duration. It cannot be negative, and must be less than 100. (default 5) |
| `--override-manager` | []string | Field manager disallowed to perform changes on managed resources. |


### Feature Gates

| Name | Default Value | Description |
|-----------------------------|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `CacheSecretsAndConfigMaps` | `false` | Configures the caching of Secrets and ConfigMaps by the controller-runtime client. When enabled, it will cache both object types, resulting in increased memory usage and cluster-wide RBAC permissions (list and watch). |
| `DisableStatusPollerCache` | `false` | Disables the cache of the status poller, which is used to determine the health of the resources applied by the controller. This may have a positive impact on memory usage on large clusters with many objects, at the cost of an increased number of direct API calls. |
| `DisableStatusPollerCache` | `true` | Disables the cache of the status poller, which is used to determine the health of the resources applied by the controller. This may have a positive impact on memory usage on large clusters with many objects, at the cost of an increased number of direct API calls. |

0 comments on commit 64caa3d

Please sign in to comment.