This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # update_kubeconfig.sh takes the admin credentials of a Lokomotive cluster assets directory and adds it to your local | |
| # kubeconfig file | |
| set -e | |
| if ! command -v yaml2json >/dev/null; then | |
| echo >&2 "Run 'go get -u github.com/bronze1man/yaml2json' to install yaml2json" | |
| exit 1 |
OlderNewer