Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new kubectl_version param #115

Merged
merged 4 commits into from
Jul 31, 2019
Merged

add new kubectl_version param #115

merged 4 commits into from
Jul 31, 2019

Conversation

montmanu
Copy link
Contributor

@montmanu montmanu commented Jul 18, 2019

Summary

Enables running the plugin using a non-default kubectl executable from "extra" kubectl versions distributed with the gcloud kubectl components.

Updates drone-gke Docker image ENTRYPOINT to support setting of EXTRA_KUBECTL_VERSIONS environment variable used by plugin to validate against kubectl_version.

Motivation

The primary motivation here was to provide a path forward for experimenting with kustomize (see example repo that contains a POC for migrating vi to kustomize) which was released as part of kubectl in v1.14)

Related

#114

Copy link

@fsouza fsouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

bin/entrypoint Outdated Show resolved Hide resolved
DOCS.md Outdated Show resolved Hide resolved
DOCS.md Outdated Show resolved Hide resolved
bin/entrypoint Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
@montmanu montmanu force-pushed the kubectl-version-param branch 2 times, most recently from e006ce7 to 439c307 Compare July 22, 2019 03:44
@montmanu montmanu requested a review from tonglil July 22, 2019 03:47
bin/entrypoint Outdated Show resolved Hide resolved
@montmanu montmanu force-pushed the kubectl-version-param branch 2 times, most recently from e913697 to b06cd32 Compare July 29, 2019 21:49
@montmanu montmanu changed the base branch from refactor-build to master July 31, 2019 09:12
montmanu and others added 4 commits July 31, 2019 05:19
- enables running the plugin using a non-default `kubectl` executable
- updates image `ENTRYPOINT` to support setting of `EXTRA_KUBECTL_VERSIONS` environment variable used by plugin to validate against `kubectl_version`

depends on #114
@montmanu montmanu merged commit 01d7120 into master Jul 31, 2019
@montmanu montmanu deleted the kubectl-version-param branch July 31, 2019 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants