-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(web): support k8s multi-cluster authentication with exec provider
- Loading branch information
1 parent
e2a20ac
commit 8a8cb7a
Showing
4 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
FROM golang:1.20-alpine3.18 AS builder | ||
COPY . /go/src/github.com/tsuru/rpaas-operator | ||
WORKDIR /go/src/github.com/tsuru/rpaas-operator | ||
RUN apk add --update gcc git make musl-dev && \ | ||
make build/api | ||
RUN set -x \ | ||
&& apk add --update gcc git make musl-dev \ | ||
&& make build/api | ||
|
||
FROM alpine:3.18 | ||
FROM google/cloud-sdk:alpine | ||
RUN set -x \ | ||
&& gcloud --version \ | ||
&& gcloud --quiet components install gke-gcloud-auth-plugin \ | ||
&& gke-gcloud-auth-plugin --version \ | ||
&& apk add --update --no-cache ca-certificates \ | ||
&& update-ca-certificates | ||
COPY --from=builder /go/src/github.com/tsuru/rpaas-operator/bin/api /bin/rpaas-api | ||
RUN apk update && \ | ||
apk add --no-cache ca-certificates && \ | ||
rm /var/cache/apk/* | ||
EXPOSE 9999 | ||
CMD ["/bin/rpaas-api"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters