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 | |
#TODO: add support for multiple environments | |
#TODO: add support for multiple vaults | |
#TODO: add support for multiple paths in vault | |
ENVIRONMENT=prod | |
appendSecretsFromBucketToEnvFile(){ | |
bucket=$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
kubectl run -it --rm ubuntu --overrides=' | |
{ | |
"apiVersion": "v1", | |
"spec": { | |
"containers": [ | |
{ | |
"name": "ubuntu", | |
"image": "ubuntu:latest", | |
"args": [ | |
"bash" |