Skip to content

Commit

Permalink
chore: add bank vault cli to devcontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Nov 7, 2024
1 parent e19ef01 commit 0177ad1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"installTerraformDocs": true
},
"ghcr.io/dhoeric/features/trivy:1": {},
"ghcr.io/devcontainers-contrib/features/argo-cd:1": {}
"ghcr.io/devcontainers-contrib/features/argo-cd:1": {},
"ghcr.io/devcontainers-contrib/features/gh-release:1": {
"repo": "bank-vaults/bank-vaults",
"binaryNames": "bank-vaults"
}
},
"customizations": {
"vscode": {
Expand All @@ -29,7 +33,14 @@
"initializeCommand": {
"ensureSSHDirNix": "mkdir -p ${localEnv:HOME}${localEnv:USERPROFILE}/.ssh"
},
"onCreateCommand": {
"vault": "brew tap hashicorp/tap && brew install hashicorp/tap/vault"
},
"postAttachCommand": {
"ensureKubeDir": "mkdir -p /home/vscode/.kube"
},
"containerEnv": {
"VAULT_ADDR": "https://127.0.0.1:8200",
"VAULT_CACERT": "/tmp/vault-ca.crt"
}
}

0 comments on commit 0177ad1

Please sign in to comment.