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(artifacts): add git https insecure option. Fixes #10762 #13797

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aslafy-z
Copy link
Contributor

@aslafy-z aslafy-z commented Oct 22, 2024

Replaces #10543
Fixes #10762

Motivation

Add support for skipping TLS verification when cloning Git repositories over HTTPS in Argo Workflows. This is useful for scenarios involving self-signed certificates or internal Git servers where full TLS verification might not be possible or desired.

Modifications

  • Added new InsecureSkipTLS boolean field to GitArtifact struct in workflow types
  • Extended the Git artifact driver to support the new InsecureSkipTLS option
  • Propagated the setting through to the underlying git clone operation

Verification

  • Tested git clone operations with self-signed certificates:
    • Verified successful cloning with insecureSkipTLS: true
    • Verified expected TLS verification behavior with insecureSkipTLS: false
  • Ensured backward compatibility with existing Git artifact configurations
  • Verified the new field is properly serialized/deserialized in workflow specs

Signed-off-by: Zadkiel AHARONIAN <hello@zadkiel.fr>
Signed-off-by: Zadkiel AHARONIAN <hello@zadkiel.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support disabling TLS verify for Git artifacts retrieval
1 participant