-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add kubectl and helm to kind image (#6)
* set local bin path * install kubectl * install helm, default kind version * default helm version
- Loading branch information
Showing
6 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ This plugin allows for creation and configuration of a KinD cluster within a Bui | |
* k8s_version: The major and minor release of K8S that you would like to target (i.e. v1.29, v1.28, etc.). Default (`v1.29`) | ||
* custom_image: The repository location of a KinD node image that you would like to use rather than the standard published versions from the KinD project (ex: quay.io/myorg/mynodeimage:v1.0.0). This will take priority over `k8s_version`. | ||
* kind_version: The version of the KinD binary you would like to use. Defaults to `v0.21.0`. | ||
* helm_version: The version of the Helm binary you would like to install. Defaults to `v3.14.0`. | ||
* config_path: A path within your codebase that contains a KinD configuration file. | ||
* debug_plugin: Whether to add verbosity to the logging of the plugin itself. This sets the `-x` flag within the plugin to show what commands are being run. | ||
|
||
|
@@ -17,7 +18,7 @@ steps: | |
- label: ":k8s: Get Pods" | ||
command: "kubectl get pods" | ||
plugins: | ||
- ssh://[email protected]/equinixmetal-buildkite/kind-cluster-buildkite-plugin#v0.0.1: | ||
- ssh://[email protected]/equinixmetal-buildkite/kind-cluster-buildkite-plugin#v0.2.0: | ||
k8s_version: "1.29" | ||
config_path: ./config/my-config.yml | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ else | |
set -eu | ||
fi | ||
|
||
./kind delete cluster --name ${CLUSTER_NAME} | ||
kind delete cluster --name ${CLUSTER_NAME} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters