Skip to content

Commit

Permalink
chore: update startup script
Browse files Browse the repository at this point in the history
  • Loading branch information
karanwadhwa authored and sydrawat01 committed Dec 1, 2023
1 parent 1e57f57 commit 5d63239
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/bastion/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,15 @@ chmod 700 get_helm.sh
./get_helm.sh
helm version

sudo apt-get update -y
sudo apt-get install apt-transport-https ca-certificates gnupg curl sudo -y
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
echo \
"deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" |
sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
sudo apt-get update
sudo apt-get install google-cloud-cli -y
sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin -y

sudo apt-get update -y
sudo apt-get install tinyproxy -y
1 change: 1 addition & 0 deletions modules/k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ resource "google_project_iam_binding" "gke_sa_admin" {
resource "google_container_cluster" "pwncorp_cluster" {
name = "pwncorp-cluster"
location = var.region
node_locations = var.node_zones
deletion_protection = false
# We can't create a cluster with no node pool defined, but we want to only use
# separately managed node pools. So we create the smallest possible default
Expand Down

0 comments on commit 5d63239

Please sign in to comment.