diff --git a/charts/openstack-cloud-controller-manager/README.md b/charts/openstack-cloud-controller-manager/README.md index 77c224bbf2..d989313383 100644 --- a/charts/openstack-cloud-controller-manager/README.md +++ b/charts/openstack-cloud-controller-manager/README.md @@ -55,6 +55,15 @@ tolerations: effect: NoSchedule ``` +## NodeSelector + +To deploy OCCM to control-plane nodes only, adjust the nodeSelectors in the chart: + +```yaml +nodeSelector: + node-role.kubernetes.io/control-plane: "true" +``` + ## Unsupported configurations - The chart does not support the mounting of custom `clouds.yaml` files. Therefore, the following config values in the `[Global]` section won’t have any effect: diff --git a/charts/openstack-cloud-controller-manager/values.yaml b/charts/openstack-cloud-controller-manager/values.yaml index f656d6bd10..2918b04998 100644 --- a/charts/openstack-cloud-controller-manager/values.yaml +++ b/charts/openstack-cloud-controller-manager/values.yaml @@ -46,9 +46,10 @@ livenessProbe: {} # Set readinessProbe in the same way like livenessProbe readinessProbe: {} -# Set nodeSelector where the controller should run, i.e. controlplane nodes -nodeSelector: - node-role.kubernetes.io/control-plane: "" +# Set nodeSelector where the controller should run. +nodeSelector: {} + # i.e. controlplane nodes + # node-role.kubernetes.io/control-plane: "true" # Set tolerations for nodes where the controller should run, i.e. node # should be uninitialized, controlplane...