Skip to content

Commit

Permalink
feat: add k9s to bastion
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Jan 18, 2022
1 parent e37a226 commit e4fc835
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/inception/gcp/bastion-startup.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,9 @@ wget https://github.com/lightningnetwork/lnd/releases/download/v${lnd_version}-b
&& tar -xvf lnd-linux-amd64-v${lnd_version}-beta.tar.gz \
&& mv lnd-linux-amd64-v${lnd_version}-beta/lncli /usr/local/bin \
&& rm -rf lnd-linux-amd64-v${lnd_version}-*

mkdir k9s && cd k9s \
&& wget https://github.com/derailed/k9s/releases/download/v${k9s_version}/k9s_Linux_x86_64.tar.gz \
&& tar -xvf k9s_Linux_x86_64.tar.gz \
&& mv k9s /usr/local/bin \
&& cd .. && rm -rf k9s*
2 changes: 2 additions & 0 deletions modules/inception/gcp/bastion.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ locals {
cepler_version = "0.7.5"
lnd_version = "0.13.3"
kubectl_version = "1.21.3"
k9s_version = "0.25.18"
}

resource "google_service_account" "bastion" {
Expand Down Expand Up @@ -61,6 +62,7 @@ resource "google_compute_instance" "bastion" {
bitcoin_version : local.bitcoin_version
cepler_version : local.cepler_version
kubectl_version : local.kubectl_version
k9s_version : local.k9s_version
lnd_version : local.lnd_version
})
}
Expand Down

0 comments on commit e4fc835

Please sign in to comment.