Skip to content
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

Merged
merged 12 commits into from
Apr 16, 2024
Merged

feat: add privateCa to kaniko pods #877

merged 12 commits into from
Apr 16, 2024

Conversation

ThibaultFy
Copy link
Member

@ThibaultFy ThibaultFy commented Apr 3, 2024

Description

closes FL-1485

How has this been tested?

Checklist

  • changelog was updated with notable changes
  • documentation was updated

@ThibaultFy ThibaultFy changed the base branch from main to feat/fix-ssl-passthrough April 4, 2024 09:22
@ThibaultFy ThibaultFy force-pushed the add-cert-kaniko branch 2 times, most recently from cf74ebe to 5938472 Compare April 4, 2024 13:43
@ThibaultFy ThibaultFy changed the base branch from feat/fix-ssl-passthrough to main April 4, 2024 13:44
@ThibaultFy ThibaultFy changed the title chore: add certificate to kaniko feat: add certificate to kaniko Apr 5, 2024
@ThibaultFy ThibaultFy changed the title feat: add certificate to kaniko feat: add privateCa to kaniko pods Apr 5, 2024
Copy link

linear bot commented Apr 5, 2024

@ThibaultFy ThibaultFy marked this pull request as ready for review April 5, 2024 07:56
@ThibaultFy ThibaultFy requested a review from a team as a code owner April 5, 2024 07:56
@ThibaultFy ThibaultFy marked this pull request as draft April 8, 2024 12:11
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 9, 2024
@guilhem-barthes guilhem-barthes marked this pull request as ready for review April 9, 2024 06:35
@ThibaultFy
Copy link
Member Author

/e2e --tests sdk

@Owlfred
Copy link

Owlfred commented Apr 9, 2024

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")
Copy link
Member Author

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 ?

Copy link
Contributor

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

Copy link
Contributor

@thbcmlowk thbcmlowk left a 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>
@guilhem-barthes guilhem-barthes merged commit 7922901 into main Apr 16, 2024
10 checks passed
@guilhem-barthes guilhem-barthes deleted the add-cert-kaniko branch April 16, 2024 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants