Skip to content

Commit

Permalink
chore(KFLUXVNGD-148): Add custom certificate support for git clone task
Browse files Browse the repository at this point in the history
Add param to support the custom certificate support for
git-clone-oci-ta task to connect to internal registry.

Jira-Url: https://issues.redhat.com/browse/KFLUXVNGD-155
Signed-off-by: Homaja Marisetty <[email protected]>
  • Loading branch information
hmariset committed Jan 15, 2025
1 parent a07704d commit e4568e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions task-generator/trusted-artifacts/golden/git-clone/ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ spec:
volumeMounts:
- name: workdir
mountPath: /var/workdir
- name: trusted-ca
mountPath: /etc/pki/tls/certs/ca-custom-bundle.crt
subPath: ca-bundle.crt
readOnly: true
args:
- create
- --store
Expand Down
4 changes: 4 additions & 0 deletions task/git-clone-oci-ta/0.1/git-clone-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ spec:
volumeMounts:
- mountPath: /var/workdir
name: workdir
- name: trusted-ca
mountPath: /etc/pki/tls/certs/ca-custom-bundle.crt
subPath: ca-bundle.crt
readOnly: true
env:
- name: IMAGE_EXPIRES_AFTER
value: $(params.ociArtifactExpiresAfter)
Expand Down

0 comments on commit e4568e5

Please sign in to comment.