mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 05:40:42 +00:00 
			
		
		
		
	Ensuring endpointslice controller starts up as part of cluster up when all alpha feature gates are enabled
This commit is contained in:
		| @@ -247,6 +247,7 @@ RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-}" | |||||||
|  |  | ||||||
| if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then | if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then | ||||||
|   RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}" |   RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}" | ||||||
|  |   RUN_CONTROLLERS="${RUN_CONTROLLERS:-*,endpointslice}" | ||||||
| fi | fi | ||||||
|  |  | ||||||
| # Optional: set feature gates | # Optional: set feature gates | ||||||
|   | |||||||
| @@ -136,6 +136,7 @@ RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-}" | |||||||
|  |  | ||||||
| if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then | if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then | ||||||
|   RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}" |   RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}" | ||||||
|  |   RUN_CONTROLLERS="${RUN_CONTROLLERS:-*,endpointslice}" | ||||||
| fi | fi | ||||||
|  |  | ||||||
| # Optional: set feature gates | # Optional: set feature gates | ||||||
|   | |||||||
| @@ -1283,6 +1283,11 @@ EOF | |||||||
|   if [ -n "${FEATURE_GATES:-}" ]; then |   if [ -n "${FEATURE_GATES:-}" ]; then | ||||||
|     cat >>$file <<EOF |     cat >>$file <<EOF | ||||||
| FEATURE_GATES: $(yaml-quote ${FEATURE_GATES}) | FEATURE_GATES: $(yaml-quote ${FEATURE_GATES}) | ||||||
|  | EOF | ||||||
|  |   fi | ||||||
|  |   if [ -n "${RUN_CONTROLLERS:-}" ]; then | ||||||
|  |     cat >>$file <<EOF | ||||||
|  | RUN_CONTROLLERS: $(yaml-quote ${RUN_CONTROLLERS}) | ||||||
| EOF | EOF | ||||||
|   fi |   fi | ||||||
|   if [ -n "${PROVIDER_VARS:-}" ]; then |   if [ -n "${PROVIDER_VARS:-}" ]; then | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user