mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #62863 from awly/kube-controller-manager-disable-controllers
Automatic merge from submit-queue (batch tested with PRs 62718, 62863). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. gcp: add env var to configure enabled controllers in controller-manager ```release-note NONE ```
This commit is contained in:
commit
ded95bc9f1
@ -1870,6 +1870,9 @@ function start-kube-controller-manager {
|
|||||||
params+=" --pv-recycler-pod-template-filepath-nfs=$PV_RECYCLER_OVERRIDE_TEMPLATE"
|
params+=" --pv-recycler-pod-template-filepath-nfs=$PV_RECYCLER_OVERRIDE_TEMPLATE"
|
||||||
params+=" --pv-recycler-pod-template-filepath-hostpath=$PV_RECYCLER_OVERRIDE_TEMPLATE"
|
params+=" --pv-recycler-pod-template-filepath-hostpath=$PV_RECYCLER_OVERRIDE_TEMPLATE"
|
||||||
fi
|
fi
|
||||||
|
if [[ -n "${RUN_CONTROLLERS:-}" ]]; then
|
||||||
|
params+=" --controllers=${RUN_CONTROLLERS}"
|
||||||
|
fi
|
||||||
|
|
||||||
local -r kube_rc_docker_tag=$(cat /home/kubernetes/kube-docker-files/kube-controller-manager.docker_tag)
|
local -r kube_rc_docker_tag=$(cat /home/kubernetes/kube-docker-files/kube-controller-manager.docker_tag)
|
||||||
local container_env=""
|
local container_env=""
|
||||||
|
Loading…
Reference in New Issue
Block a user