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)",
267
269
)
268
270
271
+
fs.StringSliceVar(&disableControllersOrWebhooks,
272
+
"disable-controllers-or-webhooks",
273
+
[]string{},
274
+
"Comma-separated list of controllers or webhooks to disable. The list can contain the following values: DisableASOSecretController,DisableAzureJSONMachineController",
275
+
)
276
+
269
277
flags.AddManagerOptions(fs, &managerOptions)
270
278
271
279
feature.MutableGates.AddFlag(fs)
@@ -308,6 +316,16 @@ func main() {
308
316
}
309
317
}
310
318
319
+
// Validate valid disable components were passed in the flag
0 commit comments