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: docs/book/src/self-managed/externally-managed-azure-infrastructure.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,13 @@ If the `AzureCluster` resource includes a "cluster.x-k8s.io/managed-by" annotati
7
7
This is useful for scenarios where a different persona is managing the cluster infrastructure out-of-band while still wanting to use CAPI for automated machine management.
8
8
9
9
You should only use this feature if your cluster infrastructure lifecycle management has constraints that the reference implementation does not support. See [user stories](https://github.com/kubernetes-sigs/cluster-api/blob/10d89ceca938e4d3d94a1d1c2b60515bcdf39829/docs/proposals/20210203-externally-managed-cluster-infrastructure.md#user-stories) for more details.
10
+
11
+
## Disabling Specific Component Reconciliation
12
+
Some controllers/webhooks may not be necessary to run in an externally managed cluster infrastructure scenario. These
13
+
controllers/webhooks can be disabled through a flag on the manager called `disable-controllers-or-webhooks`. This flag
14
+
accepts a comma separated list of values.
15
+
16
+
Currently, these are the only accepted values:
17
+
1.`DisableASOSecretController` - disables the ASOSecretController from being deployed
18
+
2.`DisableAzureJSONMachineController` - disables the AzureJSONMachineController from being deployed
"(Deprecated) Provide fully qualified GVK string to override default kubeadm config watch source, in the form of Kind.version.group (default: KubeadmConfig.v1beta1.bootstrap.cluster.x-k8s.io)",
265
267
)
266
268
269
+
fs.StringSliceVar(&disableControllersOrWebhooks,
270
+
"disable-controllers-or-webhooks",
271
+
[]string{},
272
+
"Comma-separated list of controllers or webhooks to disable. The list can contain the following values: DisableASOSecretController,DisableAzureJSONMachineController",
273
+
)
274
+
267
275
flags.AddManagerOptions(fs, &managerOptions)
268
276
269
277
feature.MutableGates.AddFlag(fs)
@@ -306,6 +314,16 @@ func main() {
306
314
}
307
315
}
308
316
317
+
// Validate valid disable components were passed in the flag
0 commit comments