-
Notifications
You must be signed in to change notification settings - Fork 880
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: target group verification did not work with named ports (#1485)
fix: target group verification did not work with named ports (#1485) Signed-off-by: Jesse Suen <[email protected]>
- Loading branch information
Showing
4 changed files
with
124 additions
and
24 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,6 +1,20 @@ | ||
#################################################################################################### | ||
# argo-rollouts-dev | ||
#################################################################################################### | ||
FROM scratch | ||
FROM golang:1.16.3 as builder | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
ca-certificates && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
FROM scratch | ||
|
||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | ||
COPY rollouts-controller-linux-amd64 /bin/rollouts-controller | ||
|
||
# Use numeric user, allows kubernetes to identify this user as being | ||
# non-root when we use a security context with runAsNonRoot: true | ||
USER 999 | ||
|
||
ENTRYPOINT [ "/bin/rollouts-controller" ] |
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