Skip to content

Commit

Permalink
Merge pull request #782 from nader-ziada/exp
Browse files Browse the repository at this point in the history
💎  rename feature_gate_machine_pool to exp_machine_pool to match capi
  • Loading branch information
k8s-ci-robot committed Jul 11, 2020
2 parents 94b559b + f69c77e commit a9d8ae5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -120,8 +120,8 @@ SKIP_CREATE_MGMT_CLUSTER ?= false
LDFLAGS := $(shell hack/version.sh)

# Allow overriding the feature gates
FEATURE_GATE_MACHINE_POOL ?= false
FEATURE_GATES_JSON_PATCH := [{"op": "add", "path": "/spec/template/spec/containers/1/args/-", "value": "--feature-gates=MachinePool=$(FEATURE_GATE_MACHINE_POOL)"}]
EXP_MACHINE_POOL ?= false
FEATURE_GATES_JSON_PATCH := [{"op": "add", "path": "/spec/template/spec/containers/1/args/-", "value": "--feature-gates=MachinePool=$(EXP_MACHINE_POOL)"}]

CLUSTER_TEMPLATE ?= cluster-template.yaml
MANAGED_CLUSTER_TEMPLATE ?= cluster-template-aks.yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/development.md
Expand Up @@ -387,7 +387,7 @@ You can optionally set the following variables:
| `PARALLEL` | Skip serial tests and set --ginkgo-parallel. |
| `USE_CI_ARTIFACTS` | Use a CI version of Kubernetes, ie. not a released version (eg. `v1.19.0-alpha.1.426+0926c9c47677e9`) |
| `CI_VERSION` | Provide a custom CI version of Kubernetes. By default, the latest master commit will be used. |
| `FEATURE_GATE_MACHINE_POOL` | Use [Machine Pool](topics/machinepools.md) for worker machines. |
| `EXP_MACHINE_POOL` | Use [Machine Pool](topics/machinepools.md) for worker machines. |

You can also customize the configuration of the CAPZ cluster (assuming that `SKIP_CREATE_WORKLOAD_CLUSTER` is not set). See [Customizing the cluster deployment](#customizing-the-cluster-deployment) for more details.

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci-entrypoint.sh
Expand Up @@ -78,7 +78,7 @@ create_cluster() {
export CLUSTER_TEMPLATE="test/cluster-template-prow.yaml"
fi

if [[ "${FEATURE_GATE_MACHINE_POOL:-}" == "true" ]]; then
if [[ "${EXP_MACHINE_POOL:-}" == "true" ]]; then
export CLUSTER_TEMPLATE="${CLUSTER_TEMPLATE/prow/prow-machine-pool}"
fi

Expand Down

0 comments on commit a9d8ae5

Please sign in to comment.