-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Add certs to argocli image. Fixes #2129 #2143
Conversation
@@ -35,11 +35,14 @@ RUN wget https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-lin | |||
FROM debian:9.6-slim as argoexec-base | |||
# NOTE: keep the version synced with https://storage.googleapis.com/kubernetes-release/release/stable.txt | |||
ENV KUBECTL_VERSION=1.15.1 | |||
ENV JQ_VERSION=1.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was copied from ./Dockerfile
- was missing
Codecov Report
@@ Coverage Diff @@
## master #2143 +/- ##
=======================================
Coverage 11.69% 11.69%
=======================================
Files 52 52
Lines 26353 26353
=======================================
Hits 3081 3081
Misses 22877 22877
Partials 395 395 Continue to review full report at Codecov.
|
@sarabala1979 could you review for me please? Can be merged if you are happy with it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have we confirmed that this fixes the actual underlying issue?
It's been tested and confirm. See #2129 (comment) (note it reveals another issue). |
@@ -94,6 +94,7 @@ ENTRYPOINT [ "workflow-controller" ] | |||
# argocli | |||
#################################################################################################### | |||
FROM scratch as argocli | |||
COPY --from=argoexec-base /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In v2.4, ssh file copied from the hack folder.
COPY hack/ssh_known_hosts /etc/ssh/ssh_known_hosts
can we use the same?
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.Fixes #2129