updated argocd_auto_sync.sh
1918347c
Hari Sekhon
committed
1 changed file
argocd_auto_sync.sh
/kubernetes/argocd_auto_sync.sh-1+3
/kubernetes/argocd_auto_sync.sh
Add comment 78 kubectl config use-context "$context"
Add comment 79 cmd=("$@")
Add comment 80 cmd=("${cmd[@]//\{context\}/$context}")
Add comment 81 Minus   "${cmd[@]}"
Add comment 81 Plus   # need eval'ing to able to inline quoted script
Add comment 82 Plus   # shellcheck disable=SC2294
Add comment 83 Plus   eval "${cmd[@]}"
Add comment 82 84 echo
Add comment 83 85 done
Add comment 84 86