From abc2aad5c66d037ef7df90ed1c7c5559f67f3d55 Mon Sep 17 00:00:00 2001 From: nicolaferraro Date: Tue, 3 Nov 2020 14:59:34 +0100 Subject: [PATCH] Change default cluster name to kind --- README.md | 2 +- action.yml | 2 +- cleanup.sh | 2 +- kind.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 228bd67..51a37c8 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ For more information on inputs, see the [API Documentation](https://developer.gi - `version`: The KinD version to use (default: `v0.9.0`) - `config`: The path to the KinD config file - `node_image`: The Docker image for the cluster nodes -- `cluster_name`: The name of the cluster to create (default: `chart-testing`) +- `cluster_name`: The name of the cluster to create (default: `kind`) - `wait`: The duration to wait for the control plane to become ready (default: `60s`) - `log_level`: The log level for KinD - `registry`: Configures a registry on localhost:5000 to be used with KinD (default: `false`) diff --git a/action.yml b/action.yml index 8c64d47..a8c1051 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,7 @@ inputs: node_image: description: "The Docker image for the cluster nodes" cluster_name: - description: "The name of the cluster to create (default: chart-testing)" + description: "The name of the cluster to create (default: kind)" wait: description: "The duration to wait for the control plane to become ready (default: 60s)" log_level: diff --git a/cleanup.sh b/cleanup.sh index cbab943..7541083 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -16,7 +16,7 @@ set -o errexit set -o nounset set -o pipefail -DEFAULT_CLUSTER_NAME=chart-testing +DEFAULT_CLUSTER_NAME=kind main() { args=() diff --git a/kind.sh b/kind.sh index 034b720..7fb4685 100755 --- a/kind.sh +++ b/kind.sh @@ -17,7 +17,7 @@ set -o nounset set -o pipefail DEFAULT_KIND_VERSION=v0.9.0 -DEFAULT_CLUSTER_NAME=chart-testing +DEFAULT_CLUSTER_NAME=kind KUBECTL_VERSION=v1.18.6 show_help() { @@ -28,7 +28,7 @@ Usage: $(basename "$0") -v, --version The kind version to use (default: $DEFAULT_KIND_VERSION)" -c, --config The path to the kind config file" -i, --node-image The Docker image for the cluster nodes" - -n, --cluster-name The name of the cluster to create (default: chart-testing)" + -n, --cluster-name The name of the cluster to create (default: $DEFAULT_CLUSTER_NAME)" -w, --wait The duration to wait for the control plane to become ready (default: 60s)" -l, --log-level The log level for kind [panic, fatal, error, warning, info, debug, trace] (default: warning)