Skip to content

fix(x2a): trust extra CAs for converter Job git clone - #4865

Open
mareklibra wants to merge 3 commits into
redhat-developer:mainfrom
mareklibra:FLPATH-4871.git_tls_ca
Open

mareklibra wants to merge 3 commits into
redhat-developer:mainfrom
mareklibra:FLPATH-4871.git_tls_ca

Conversation

@mareklibra

Copy link
Copy Markdown
Member

fix(x2a): trust extra CAs for converter Job git clone

Fixes: FLPATH-4871

GitLab clone failed on a private CA because git runs in the Job, not the Hub.
Mount extra issuing CAs and keep skip-TLS as a last-resort hatch.

Fixes: FLPATH-4871

GitLab clone failed on a private CA because git runs in the Job, not the Hub.
Mount extra issuing CAs and keep skip-TLS as a last-resort hatch (FLPATH-4871).

Signed-off-by: Marek Libra <marek.libra@gmail.com>
Follow-up to FLPATH-4871: mount the CNO-injected cluster CA bundle
so operators need not paste PEM already in user-ca-bundle.

Signed-off-by: Marek Libra <marek.libra@gmail.com>
@rhdh-gh-app

rhdh-gh-app Bot commented Sep 18, 2026

Copy link
Copy Markdown

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-x2a-backend workspaces/x2a/plugins/x2a-backend patch v2.0.0
@red-hat-developer-hub/backstage-plugin-x2a-node workspaces/x2a/plugins/x2a-node patch v1.0.0

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.23077% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.58%. Comparing base (13066a1) to head (a877664).
⚠️ Report is 13 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4865      +/-   ##
==========================================
+ Coverage   63.52%   63.58%   +0.06%     
==========================================
  Files        2681     2684       +3     
  Lines      106848   107030     +182     
  Branches    29905    29918      +13     
==========================================
+ Hits        67870    68058     +188     
+ Misses      37207    37201       -6     
  Partials     1771     1771              
Flag Coverage Δ *Carryforward flag
adoption-insights 84.77% <ø> (ø) Carriedforward from 13066a1
ai-integrations 79.83% <ø> (ø) Carriedforward from 13066a1
app-defaults 54.82% <ø> (ø) Carriedforward from 13066a1
augment 46.67% <ø> (ø) Carriedforward from 13066a1
boost 84.97% <ø> (ø) Carriedforward from 13066a1
bulk-import 73.12% <ø> (ø) Carriedforward from 13066a1
cost-management 13.53% <ø> (ø) Carriedforward from 13066a1
dcm 73.47% <ø> (ø) Carriedforward from 13066a1
e2e-adoption-insights 60.00% <ø> (ø) Carriedforward from 13066a1
e2e-extensions 62.31% <ø> (ø) Carriedforward from 13066a1
e2e-global-header 51.82% <ø> (ø) Carriedforward from 13066a1
e2e-homepage 61.11% <ø> (ø) Carriedforward from 13066a1
e2e-intelligent-assistant 46.01% <ø> (ø) Carriedforward from 13066a1
e2e-orchestrator 49.49% <ø> (ø) Carriedforward from 13066a1
e2e-orchestrator-plugin 49.48% <ø> (ø) Carriedforward from 13066a1
e2e-quickstart 55.21% <ø> (ø) Carriedforward from 13066a1
e2e-scorecard 50.00% <ø> (ø) Carriedforward from 13066a1
e2e-theme 16.36% <ø> (ø) Carriedforward from 13066a1
extensions 58.30% <ø> (ø) Carriedforward from 13066a1
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 13066a1
global-header 67.76% <ø> (ø) Carriedforward from 13066a1
homepage 55.05% <ø> (ø) Carriedforward from 13066a1
install-dynamic-plugins 71.77% <ø> (ø) Carriedforward from 13066a1
intelligent-assistant 77.99% <ø> (ø) Carriedforward from 13066a1
konflux 91.98% <ø> (ø) Carriedforward from 13066a1
lightspeed 69.02% <ø> (ø) Carriedforward from 13066a1
mcp-integrations 84.46% <ø> (ø) Carriedforward from 13066a1
orchestrator 77.69% <ø> (ø) Carriedforward from 13066a1
quickstart 63.74% <ø> (ø) Carriedforward from 13066a1
sandbox 79.56% <ø> (ø) Carriedforward from 13066a1
scorecard 88.71% <ø> (ø) Carriedforward from 13066a1
theme 87.91% <ø> (ø) Carriedforward from 13066a1
translations 5.12% <ø> (ø) Carriedforward from 13066a1
x2a 79.23% <94.23%> (+0.79%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 13066a1...a877664. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@eloycoto

Copy link
Copy Markdown
Contributor

shouldn't we add the CA into the secrets in the deployment directly?

https://github.com/x2ansible/x2ansible.github.io/blob/8be61f172ff0f8b75eac180a39310802c760652a/deploy/app.yaml#L304-L328

Having a way to add a custom CA, sems a bit insecure to me, and I do not think that scales well enough (What happens if multiple CA, etc..)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants