You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/hub-agent/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,4 +41,4 @@ _See [helm install](https://helm.sh/docs/helm/helm_install/) for command documen
41
41
|`MaxFleetSizeSupported`| Max number of member clusters supported |`100`|
42
42
|`resourceSnapshotCreationMinimumInterval`| The minimum interval at which resource snapshots could be created. |`30s`|
43
43
|`resourceChangesCollectionDuration`| The duration for collecting resource changes into one snapshot. |`15s`|
44
-
|`enableCustomWorkload`| Enable custom workload resources (pods and replicasets) in hub cluster. When true, pod and replicaset validating webhooks are disabled |`false`|
44
+
|`enableWorkload`| Enable workload resources (pods and replicasets) in hub cluster. When true, pod and replicaset validating webhooks are disabled |`false`|
@@ -184,7 +184,7 @@ func (o *Options) AddFlags(flags *flag.FlagSet) {
184
184
flags.BoolVar(&o.EnablePprof, "enable-pprof", false, "If set, the pprof profiling is enabled.")
185
185
flags.IntVar(&o.PprofPort, "pprof-port", 6065, "The port for pprof profiling.")
186
186
flags.BoolVar(&o.DenyModifyMemberClusterLabels, "deny-modify-member-cluster-labels", false, "If set, users not in the system:masters cannot modify member cluster labels.")
187
-
flags.BoolVar(&o.EnableCustomWorkload, "enable-custom-workload", false, "If set, custom workload can be created in the hub cluster. This disables the pod and replicaset validating webhooks.")
187
+
flags.BoolVar(&o.EnableWorkload, "enable-workload", false, "If set, workloads (pods and replicasets) can be created in the hub cluster. This disables the pod and replicaset validating webhooks.")
188
188
flags.DurationVar(&o.ResourceSnapshotCreationMinimumInterval, "resource-snapshot-creation-minimum-interval", 30*time.Second, "The minimum interval at which resource snapshots could be created.")
"The duration for collecting resource changes into one snapshot. The default is 15 seconds, which means that the controller will collect resource changes for 15 seconds before creating a resource snapshot.")
0 commit comments