Open an-excellent-choice opened 5 years ago
The regex test if [[ $yml =~ ^(.*/)?secrets(\.[^.]+)*\.yaml$ ]] does not match the helm secrets help text, at least on OSX.
if [[ $yml =~ ^(.*/)?secrets(\.[^.]+)*\.yaml$ ]]
helm secrets
secrets.dev.yaml functions properly; secrets-dev.yaml fails to decrypt; helm secrets implies it should: wrapper that decrypts secrets[.*].yaml
secrets.dev.yaml
secrets-dev.yaml
wrapper that decrypts secrets[.*].yaml
The regex test
if [[ $yml =~ ^(.*/)?secrets(\.[^.]+)*\.yaml$ ]]
does not match thehelm secrets
help text, at least on OSX.secrets.dev.yaml
functions properly;secrets-dev.yaml
fails to decrypt;helm secrets
implies it should:wrapper that decrypts secrets[.*].yaml