This file contains 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
#!/usr/bin/env bash | |
set -e | |
! read -rd '' HELP_STRING <<"EOF" | |
Usage: ctl_ns.sh [OPTION]... --namespace NAMESPACE --key KEY --value VALUE | |
Install kubernetes-dashboard to Kubernetes cluster. | |
Mandatory arguments: | |
-c, --configure configure namespace | |
-d, --delete remove node-selector and default toleration from namespace |
This file contains 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 -e | |
! read -rd '' HELP_STRING <<"EOF" | |
Usage: gensa.sh [OPTION] | |
Create sa flant-readonly and generate config | |
Mandatory arguments: | |
-n, --new create new sa flant-readonly (default) | |
-g, --generate generate config for existing sa | |
-d, --delete remove everything | |
Optional arguments: |