-
Notifications
You must be signed in to change notification settings - Fork 53
fix(RELEASE-2158): refactor trusted-ca mounts in verify-conforma task #3232
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -264,11 +264,10 @@ spec: | |||||||||||||||||||||||||
| - mountPath: /var/workdir | ||||||||||||||||||||||||||
| name: workdir | ||||||||||||||||||||||||||
| - name: trusted-ca | ||||||||||||||||||||||||||
| mountPath: /mnt/trusted-ca | ||||||||||||||||||||||||||
| mountPath: /etc/ssl/certs | ||||||||||||||||||||||||||
| readOnly: true | ||||||||||||||||||||||||||
| - name: trusted-ca | ||||||||||||||||||||||||||
| mountPath: /etc/ssl/certs/ca-custom-bundle.crt | ||||||||||||||||||||||||||
| subPath: ca-bundle.crt | ||||||||||||||||||||||||||
| mountPath: /mnt/trusted-ca | ||||||||||||||||||||||||||
| readOnly: true | ||||||||||||||||||||||||||
|
Comment on lines
266
to
271
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # Read the specific file mentioned in the review
cat -n tasks/verify-conforma-konflux-ta/0.1/verify-conforma-konflux-ta.yaml | head -n 300 | tail -n 100Repository: conforma/cli Length of output: 1858 🏁 Script executed: # Check the volume definitions near the end of the file
wc -l tasks/verify-conforma-konflux-ta/0.1/verify-conforma-konflux-ta.yamlRepository: conforma/cli Length of output: 1861 🏁 Script executed: # Read the volume definition section
cat -n tasks/verify-conforma-konflux-ta/0.1/verify-conforma-konflux-ta.yaml | sed -n '590,610p'Repository: conforma/cli Length of output: 688 🏁 Script executed: # Look for SSL_CERT_DIR references in the file
rg -n "SSL_CERT_DIR" tasks/verify-conforma-konflux-ta/0.1/verify-conforma-konflux-ta.yaml -A 2 -B 2Repository: conforma/cli Length of output: 1097 🏁 Script executed: # Read the volumeMounts section around lines 266-271
cat -n tasks/verify-conforma-konflux-ta/0.1/verify-conforma-konflux-ta.yaml | sed -n '260,280p'Repository: conforma/cli Length of output: 807 🏁 Script executed: # Get broader context of the stepTemplate to understand the configuration
cat -n tasks/verify-conforma-konflux-ta/0.1/verify-conforma-konflux-ta.yaml | sed -n '240,290p'Repository: conforma/cli Length of output: 1916 🏁 Script executed: # Check if there are any other references to /etc/ssl/certs or /mnt/trusted-ca
rg -n "(/etc/ssl/certs|/mnt/trusted-ca)" tasks/verify-conforma-konflux-ta/0.1/verify-conforma-konflux-ta.yamlRepository: conforma/cli Length of output: 262 Remove the redundant The Suggested direction - name: trusted-ca
- mountPath: /etc/ssl/certs
- readOnly: true
- - name: trusted-ca
mountPath: /mnt/trusted-ca
readOnly: true📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||
| env: | ||||||||||||||||||||||||||
| - name: "ORAS_OPTIONS" | ||||||||||||||||||||||||||
|
|
@@ -511,11 +510,6 @@ spec: | |||||||||||||||||||||||||
| memory: 2Gi | ||||||||||||||||||||||||||
| limits: | ||||||||||||||||||||||||||
| memory: 2Gi | ||||||||||||||||||||||||||
| volumeMounts: | ||||||||||||||||||||||||||
| - name: trusted-ca | ||||||||||||||||||||||||||
| mountPath: /etc/pki/tls/certs/ca-custom-bundle.crt | ||||||||||||||||||||||||||
| subPath: ca-bundle.crt | ||||||||||||||||||||||||||
| readOnly: true | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: report-json | ||||||||||||||||||||||||||
| image: quay.io/conforma/cli:latest | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.