Skip to content

Add POSIX compatibility#1

Merged
jkroepke merged 1 commit intomasterfrom
alpine
Apr 26, 2020
Merged

Add POSIX compatibility#1
jkroepke merged 1 commit intomasterfrom
alpine

Conversation

@jkroepke
Copy link
Owner

@jkroepke jkroepke commented Apr 26, 2020

it's almost a rewrite of the shell script for helm script.

I remove all bash related shell code and replace it with POSIX feature. The script will run on almost any posix compatible shell. The scripts is also compliant to shellcheck.

ZSH (MacOS default shell) and ash (Alpine default shell) should now out of the box supported. gnu-getops is not required anymore.

All tests from test.sh are green under MacOS 10.15.4 (zsh, bash 3.2.57) and Alpine 3.11 (ash)

Additional features:

All helm commands are supported now. Before this only install|template|upgrade|lint|diff are supported. If plugins like kubeval are installed this script need to be modified. The PR remove the limitation.

Fixes:

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.

1 participant