Skip to content

Commit

Permalink
add auth deps for multinode (#532)
Browse files Browse the repository at this point in the history
* add auth deps for multinode

* fix licensing
  • Loading branch information
alexmasi authored Apr 25, 2024
1 parent df71fa7 commit adfb9a3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cloudbuild/external.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ build {
"sudo systemctl daemon-reload",
"sudo systemctl enable cri-docker.socket",
"sudo systemctl enable cri-docker.service",
"cd $HOME",
"git clone https://github.com/kubernetes/cloud-provider-gcp.git",
"curl -Lo bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64 && sudo install bazel /usr/local/bin/",
"cd cloud-provider-gcp",
"curl --create-dirs -o third_party/licenses/cloud-provider-gcp/LICENSE https://raw.githubusercontent.com/kubernetes/cloud-provider-gcp/master/LICENSE",
"bazel build cmd/auth-provider-gcp",
"sudo mkdir -p /etc/kubernetes/bin/",
"sudo cp bazel-bin/cmd/auth-provider-gcp/auth-provider-gcp_/auth-provider-gcp /etc/kubernetes/bin/",
]
}

Expand Down
7 changes: 7 additions & 0 deletions cloudbuild/internal.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ build {
"sudo systemctl daemon-reload",
"sudo systemctl enable cri-docker.socket",
"sudo systemctl enable cri-docker.service",
"cd $HOME",
"git clone https://github.com/kubernetes/cloud-provider-gcp.git",
"curl -Lo bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64 && sudo install bazel /usr/local/bin/",
"cd cloud-provider-gcp",
"bazel build cmd/auth-provider-gcp",
"sudo mkdir -p /etc/kubernetes/bin/",
"sudo cp bazel-bin/cmd/auth-provider-gcp/auth-provider-gcp_/auth-provider-gcp /etc/kubernetes/bin/",
]
}

Expand Down

0 comments on commit adfb9a3

Please sign in to comment.