Skip to content

Commit

Permalink
chore: add kratos to bastion (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasburtey authored Dec 2, 2022
1 parent becfdbb commit 4730f6b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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 @@ -72,6 +72,12 @@ mkdir k9s && cd k9s \
&& mv k9s /usr/local/bin \
&& cd .. && rm -rf k9s*

mkdir kratos && cd kratos \
&& wget https://github.com/ory/kratos/releases/download/v${kratos_version}/kratos_${kratos_version}-linux_64bit.tar.gz \
&& tar -xvf kratos_${kratos_version}-linux_64bit.tar.gz \
&& mv kratos /usr/local/bin \
&& cd .. && rm -rf kratos*

curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y nodejs \
&& npm config set prefix '/usr' \
Expand Down
6 changes: 4 additions & 2 deletions modules/inception/gcp/bastion.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
locals {
tag = "${local.name_prefix}-bastion"
cfssl_version = "1.6.1"
bitcoin_version = "22.0"
bitcoin_version = "23.0"
cepler_version = "0.7.9"
safe_version = "1.7.0"
lnd_version = "0.15.0"
lnd_version = "0.15.5"
kubectl_version = "1.21.9"
k9s_version = "0.25.18"
bos_version = "12.13.3"
kratos_version = "0.10.1"
}

resource "google_compute_instance" "bastion" {
Expand Down Expand Up @@ -51,6 +52,7 @@ resource "google_compute_instance" "bastion" {
k9s_version : local.k9s_version
lnd_version : local.lnd_version
bos_version : local.bos_version
kratos_version : local.kratos_version
})

depends_on = [
Expand Down

0 comments on commit 4730f6b

Please sign in to comment.