@@ -35,16 +35,12 @@ CONTROL_PLANE_COMPONENTS="kube-apiserver kube-controller-manager kube-scheduler"
3535# parallel testing is enabled. Using LABEL_FILTER instead of combining SKIP and
3636# FOCUS is recommended (more expressive, easier to read than regexp).
3737#
38- # GA_ONLY: true - limit to GA APIs/features as much as possible
39- # false - (default) APIs and features left at defaults
4038# FEATURE_GATES:
4139# JSON or YAML encoding of a string/bool map: {"FeatureGateA": true, "FeatureGateB": false}
4240# Enables or disables feature gates in the entire cluster.
43- # Cannot be used when GA_ONLY=true.
4441# RUNTIME_CONFIG:
4542# JSON or YAML encoding of a string/string (!) map: {"apia.example.com/v1alpha1": "true", "apib.example.com/v1beta1": "false"}
4643# Enables API groups in the apiserver via --runtime-config.
47- # Cannot be used when GA_ONLY=true.
4844
4945# cleanup logic for cleanup on exit
5046CLEANED_UP=false
@@ -134,30 +130,6 @@ create_cluster() {
134130 # --runtime-config argument value passed to the API server, again as a map
135131 runtime_config=" ${RUNTIME_CONFIG:- {\} } "
136132
137- case " ${GA_ONLY:- false} " in
138- false)
139- :
140- ;;
141- true)
142- if [ " ${feature_gates} " != " {}" ]; then
143- echo " GA_ONLY=true and FEATURE_GATES=${feature_gates} are mutually exclusive."
144- return 1
145- fi
146- if [ " ${runtime_config} " != " {}" ]; then
147- echo " GA_ONLY=true and RUNTIME_CONFIG=${runtime_config} are mutually exclusive."
148- return 1
149- fi
150-
151- echo " Limiting to GA APIs and features for ${PREV_VERSION} "
152- feature_gates=' {"AllAlpha":false,"AllBeta":false}'
153- runtime_config=' {"api/alpha":"false", "api/beta":"false"}'
154- ;;
155- * )
156- echo " \$ GA_ONLY set to '${GA_ONLY} '; supported values are true and false (default)"
157- return 1
158- ;;
159- esac
160-
161133 # create the config file
162134 cat << EOF > "${ARTIFACTS} /kind-config.yaml"
163135# config for 1 control plane node and 2 workers (necessary for conformance)
0 commit comments