See https://github.com/loganmzz/terraform-helm-bug-recreate-pvc
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
| const projectid = process.argv[1]; | |
| const clustername = process.argv[2]; | |
| const region = process.argv[3]; | |
| var ovh = require('ovh')({ | |
| endpoint: 'ovh-eu', | |
| appKey: process.env.OVH_APP_KEY, | |
| appSecret: process.env.OVH_APP_SECRET, | |
| consumerKey: process.env.OVH_CONSUMER_KEY, | |
| }); |
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
| #!/usr/bin/env bash | |
| basedir="$(cd "$(dirname "${BASH_SOURCE}")" >/dev/null; pwd)" || exit 1 | |
| current_datetime="$(date --utc --iso-8601=ns)" | |
| function main.clean() { | |
| rm -rf "${basedir}/"{001..004}".txt" "${basedir}/"{boo,foo,bar,far} | |
| } | |
| function main.mkfile() { |
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
| Name: demo | |
| Version: 0.0.1 |
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
| const DEBUG = false; | |
| const MOSQITO_DENSITY = 0.1; | |
| const MAP_HEIGHT = 200; | |
| const MAP_WIDTH = 120; | |
| function randomBoolean() { | |
| return Math.random() < MOSQITO_DENSITY; | |
| } | |
| class Map { |
OlderNewer