Releases: groundnuty/k8s-wait-for
Fixing with breaking changes
This small bugfix release in fact drops support for Kubernetes clusters of version < v1.23
. In v1.23 a Ready
field was addded to JobSatus which broke the backwards compatibility of kubectl describe job
.
As the Kubernetes world is evolving rapidly I see no reason to clutter the code with the handling of backwards compatibility in k8s-wait-for script, hence a proud v2.0 version is born!
k8s-wait-for 2.* can be used with kubernetes clusters version >= v1.23
.
The complete changelog:
- fix: waiting for jobs, see #60
- chore: upgraded kubectl to version v1.25.4
- chore: upgraded curl to 7.83.1-r4
Full Changelog: v1.7...v2.0
Security means maturity!
This is the first release addressing security and variability. As the small user base of this script continues to grow, a stable feature set meets regular security scans in an improved CI/CD pipeline!
The complete changelog:
- feat: migration from travis to github actions and addition of regular trivi security scan (#58)
- feat: added pod-wr (#52) by @sgreene570
- feat: added rootless mode (#55) by @alexsteeel
- chore: continued encouragement for using ghrc.io (#49) by @tico24
- chore: README fixes (#51) by @eggplants
- chore: upgraded kubectl to version v1.25.0
- chore: upgraded alpine to version v3.16.2
- chore: refactor of rootless mode build flow
Full Changelog: v1.6...v1.7
Small world domination!
When your small bash script docker container gets a pull request featuring arm support and people start complaining on docker hub limits, you start to realize that someone really uses it in the world!
The complete changelog:
- chore: upgraded kubectl to version v1.24.0
- chore: upgraded alpine to version v3.15.3 (#42)
- chore: README fixes by (#37,#40) @moreinhardt
- feat: images are now also published on ghrc.io (#46)
- feat: arm64 support (#38) by @yss14
- feat: added timestamp to output messages (#36) by @sgreene570
- feat: switched to buildkit
A quick hotfix.
Was too quick with the previous release:
- fixed bad logic with TREAT_ERRORS_AS_READY var - thanks @theophileds for quickly spotting it!
Pull Requests push the project forward!
This time middle of the year release with all the wonderful pull requests!
The complete changelog:
- feat: Allow failing pod during waiting for successful one (#30) by @onpaj
- fix: get_job_state_output substring matching (#31) by @theophileds
- feat: mention about potential error case (#33) by @villesau
- feat: reference a discussion about permissions related problems
- feat: changed curl version to one that can be found in the alpine repo
An overdue release!
A long-awaited release with all contributions that accumulated throughout the year. Thank you for all the pulls requests!
The complete changelog:
- upgraded kubectl to version v1.21.0
- feat: update README.md to handle permissions error (#28) by @c-simpson
- fix: dockerfile update (#23) by @michalschott
- fix: not found jobs are ready (#24) by @sergeyshaykhullin
- fix: does not accept failed jobs if less then 10 pods failed (#21) by @robinvandenbogaard
No news is good news!
This small, mainly maintenance release and to keep the script update. The script has been serving its purpose for the last 3 years and remains a useful tool, with little space for innovation tho.
The complete changelog:
- upgraded kubectl to version
v1.18.1
- updated Running and Example Reamde sections and fixed project badges
- fixed typos and grammar in Readme.md and --help
- fixed Makefile, that pushed all images present on the host machine to hub.docker.com
- fix for a command returning true when service does not exist (fixed #18)
- fixed passing of label selectors when a service has more than one selector by @rally25rs
Errors might be good!
During development of a test framework based on k8s jobs/pods the need arose to generalize the waiting condition to allow for pods and jobs to fail. For that, I added new options pod-we
(read: pods with errors) and job-we
(read: job with errors). By using those, your wait will end when eg. all the pods that are members of a job will enter into Completed or Failed states.
The complete changelog:
- refactored go-template code to use define block - it looks much cleaner now
- added pod-we and job-we that treat erroneous jobs and pods as completed
- upgrade kubectl to version v1.11.0 thanks to pull request by @kostegit
- fixed a bug where state for a single pod was reported wrongly
- fixed argument expansion in get_job_state function
- improved Makefile to infer repo name
Newer kubeclt and small fixes
As for such a small work, this repository seems to be recommended from time to time on #kubernetes Slack channel and received multiple stars on github. I fell obliged to update and maintain it to encourage new pull requests.
This small release includes:
- multiple refactors thanks to pull request by @jellonek
- small style fixes in messages and usage message
- updated kubectl to v1.9.2 (it's new enough for me)
- container now comes with curl installed
v1.0 - Initial public release
As this is a first public release, please consult the README for detailed description.