Skip to content

Commit ebc3066

Browse files
committed
Add docs on disable-controllers-or-webhooks
This commit adds some minor documentation on how to use the new flag, disable-controllers-or-webhooks. Signed-off-by: Bryan Cox <[email protected]>
1 parent c135e85 commit ebc3066

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/book/src/self-managed/externally-managed-azure-infrastructure.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,13 @@ If the `AzureCluster` resource includes a "cluster.x-k8s.io/managed-by" annotati
77
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.
88

99
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
19+

0 commit comments

Comments
 (0)