Skip to content

Commit 6b70bd5

Browse files
authored
Merge pull request #2411 from fluxcd/gate-watch-config
Add feature gate for disabling config watchers
2 parents fc018ca + edbc62b commit 6b70bd5

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

content/en/flux/components/helm/options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ please see the [bootstrap customization guide](/flux/installation/configuration/
5555
| `AllowDNSLookups` | `false` | Allows the controller to perform DNS lookups when rendering Helm templates. This is disabled by default, as it can be a security risk. |
5656
| `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). |
5757
| `DisableChartDigestTracking` | `false` | Disables the tracking of digest changes for Helm OCI charts. When set to `true`, the controller will not append the OCI digest to the chart version in `Chart.yaml`. |
58+
| `DisableConfigWatchers` | `false` | Disables the watchers for ConfigMaps and Secrets. |
5859
| `ExternalArtifact` | `true` | Enables support for the [ExternalArtifact](https://github.com/fluxcd/source-controller/blob/main/docs/spec/v1/externalartifacts.md) source type. |
5960
| `ObjectLevelWorkloadIdentity` | `false` | Enables the use of object-level workload identity for the controller. |
6061
| `OOMWatch` | `false` | Enables the OOM watcher, which will gracefully shut down the controller when the memory usage exceeds the configured limit. This is disabled by default. |

content/en/flux/components/kustomize/options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ please see the [bootstrap customization guide](/flux/installation/configuration/
5252
| `AdditiveCELDependencyCheck` | `false` | Run both the built-in health checks and the CEL expression `readyExpr` when `readyExpr` is configured on a Kustomization. |
5353
| `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). |
5454
| `CancelHealthCheckOnNewRevision` | `false` | Cancels ongoing health checks when a new revision is detected. |
55+
| `DisableConfigWatchers` | `false` | Disables the watchers for ConfigMaps and Secrets. |
5556
| `DisableFailFastBehavior` | `false` | Controls whether the fail-fast behavior when waiting for resources to become ready should be disabled. |
5657
| `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. |
5758
| `ExternalArtifact` | `true` | Enables support for the [ExternalArtifact](https://github.com/fluxcd/source-controller/blob/main/docs/spec/v1/externalartifacts.md) source type. |

content/en/flux/components/notification/options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ please see the [bootstrap customization guide](/flux/installation/configuration/
3838
| Name | Default Value | Description |
3939
|-------------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
4040
| `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). |
41+
| `DisableConfigWatchers` | `false` | Disables the watchers for ConfigMaps and Secrets. |
4142
| `ObjectLevelWorkloadIdentity` | `false` | Enables the use of object-level workload identity for the controller. |

0 commit comments

Comments
 (0)