-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: add privateCa to kaniko pods #877
Conversation
77ba711
to
765e880
Compare
765e880
to
15d3a48
Compare
15d3a48
to
de78344
Compare
cf74ebe
to
5938472
Compare
5938472
to
8f2d0bf
Compare
7e8b1b2
to
f6acd68
Compare
/e2e --tests sdk |
End to end tests: ✔️ SUCCESS Yay! 🎉 |
@@ -284,6 +295,10 @@ def _build_container(dockerfile_mount_path: str, image_tag: str) -> kubernetes.c | |||
) | |||
volume_mounts.append(docker_config) | |||
|
|||
if PRIVATE_CA_ENABLED: | |||
docker_config = kubernetes.client.V1VolumeMount(name=CA_SECRET_NAME, mount_path="/kaniko/ssl/certs") |
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.
@guilhem-barthes how the system knows that it must calls the file ca-certificates.crt
?
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.
That's the default for ssh configuration
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.
LGTM! Great work 🔏
Signed-off-by: ThibaultFy <thibault.fouqueray@gmail.com>
Signed-off-by: ThibaultFy <thibault.fouqueray@gmail.com>
Signed-off-by: ThibaultFy <thibault.fouqueray@gmail.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
9f18cb5
to
e993cd5
Compare
Description
closes FL-1485
How has this been tested?
Checklist