Skip to content

Instantly share code, notes, and snippets.

@Maurifc
Last active October 17, 2022 13:49
Show Gist options
  • Save Maurifc/1c8546f56c5bf4aa8c004f386ec51941 to your computer and use it in GitHub Desktop.
Save Maurifc/1c8546f56c5bf4aa8c004f386ec51941 to your computer and use it in GitHub Desktop.
'for in' structure for bash scripts
#!/usr/bin/env bash
list=(
atena-api,
atena-client
)
for i in ${list[@]};
do
helm upgrade --install $i . -n production -f values-usa-master.yaml
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment