hashicorp/terraform-provider-kubernetes#546
hashicorp/terraform-provider-kubernetes#546 (comment)
terraform state rm kubernetes_service_account.tiller \
| function aws_profile_list { | |
| cat ~/.aws/credentials| grep "\[" | sed 's/\(^.\)\(.*\)\(.$\)/\2/gi' | |
| } | |
| function aws_profile_switch { | |
| selected="${1}" | |
| if [[ -z $(aws_profile_list | grep "${selected}") ]]; then | |
| echo "Selected profile [${selected}] doesn't exists." | |
| return |
hashicorp/terraform-provider-kubernetes#546
hashicorp/terraform-provider-kubernetes#546 (comment)
terraform state rm kubernetes_service_account.tiller \
| #!/bin/bash | |
| name=$RANDOM | |
| url='http://localhost:9093/api/v1/alerts' | |
| echo "firing up alert $name" | |
| # change url o | |
| curl -XPOST $url -d "[{ | |
| \"status\": \"firing\", |
find . -maxdepth 1 \
-not -path . \
-not -path './.*' \
-not -path './test' \
-not -path './yarn*' \
-not -path './package.json' \
-not -path './output' \
-not -path '*.md' \
-exec tar czf output/archive.tgz --exclude='**/example-input/*' {} +
| . | |
| . | |
| . | |
| . | |
| "scripts": { | |
| "start": "npm run build-css & npm run watch-scss & npm run start:dev-server", | |
| "start:dev-server": "NODE_PATH=src react-scripts start", | |
| "build": "NODE_PATH=src react-scripts build", | |
| "test": "NODE_PATH=src react-scripts test --env=jsdom", | |
| "build-css": "sassc -I ./src ./src/index.scss ./src/index.css", |