helm / kind-action

A GitHub Action for Kubernetes IN Docker - local clusters for testing Kubernetes
https://kind.sigs.k8s.io/
Apache License 2.0
306 stars 76 forks source link

Support bash before v4.4 #52

Closed gjkim42 closed 2 years ago

gjkim42 commented 2 years ago

Currently, kind-action does not work in an environment of having bash before 4.4(e.g. CentOS 7.9) with the following error.

... args[@]: unbound variable

This PR makes kind-action support bash before v4.4.

ref: https://stackoverflow.com/questions/7577052/bash-empty-array-expansion-with-set-u

gjkim42 commented 2 years ago

/cc @davidkarlsen Could you PTAL? Thanks!