Skip to content

Replace issuer with CA issuer#679

Merged
azgabur merged 2 commits intoKuadrant:mainfrom
azgabur:issuer_change
Jun 12, 2025
Merged

Replace issuer with CA issuer#679
azgabur merged 2 commits intoKuadrant:mainfrom
azgabur:issuer_change

Conversation

@azgabur
Copy link
Copy Markdown
Member

@azgabur azgabur commented May 22, 2025

Currently multicluster tests use as TLS issuer the Letsencrypt. There are connected quotas and long delays for the issuing process making the tests take much longer time to finish.

Additionally the Letsencrypt issuer should only be used in test test_external_ca as in any other case we do not care about the type of issuer.

Adding a known CA that will issue test certificates we can simplify TlsPolicy testing. Maybe in the future the selfsinged-issuer can be fully replaced by this CA issuer and the logic in Hostname class that fetches certificate from cluster at runtime will no longer be needed. For now I only changed the multicluster tests where it was mainly needed. edit: I replaced the selfsigned-issuer with the CA issuer as it should not cause any additional problems.

A testing CA is part of helm-install since Kuadrant/helm-charts-olm@b9128fb

@azgabur azgabur requested a review from averevki May 22, 2025 19:21
Comment thread config/settings.yaml Outdated
@azgabur azgabur changed the title Add CA issuer for multicluster tests Replace issuer with CA issuer Jun 10, 2025
azgabur added 2 commits June 10, 2025 17:01
Signed-off-by: Alex Zgabur <azgabur@redhat.com>
Signed-off-by: Alex Zgabur <azgabur@redhat.com>
Comment thread testsuite/certificates.py
Copy link
Copy Markdown
Contributor

@averevki averevki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Will it require any change inside the testsuite pipelines? I guess not, because it was multicluster who wasn't been accepting the self-signed issuer, as far as I remember, so I guess it will just be a fixture less from now on

@azgabur
Copy link
Copy Markdown
Member Author

azgabur commented Jun 12, 2025

Will it require any change inside the testsuite pipelines?

Nope, I added the CA in Kuadrant/helm-charts-olm@b9128fb to helm install and pipeline always uses most recent version. Only additional thing to do is to add the CA issuer on clusters that had not been deployed with the newer version of helm chart. I will inform on Slack

@azgabur azgabur merged commit adc9aed into Kuadrant:main Jun 12, 2025
3 checks passed
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.

2 participants