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

🐛 cmd/sharded-test-server: Reuse Certificates instead of generating new ones #2746

Conversation

p0lyn0mial
Copy link
Contributor

Summary

This PR changes sharded-test-server binary so that it reuses various cryptographic certificates (i.e CAs or ClientCerts) instead of always creating new ones.

This allows for preserving a previous environment created by the binary. (yes, you can run sharded-test-server multiple times!)

Note it will work as long as the default IP address stays the same. We could change that as well but that would make the code a bit more complex. Given that most of us run make clean-workdir before anyway I think it is a good starting point.

Related issue(s)

Fixes ##2726

@p0lyn0mial
Copy link
Contributor Author

/assign @ncdc @davidfestal

@sttts
Copy link
Member

sttts commented Feb 3, 2023

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 3, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sttts

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 3, 2023
@openshift-merge-robot openshift-merge-robot merged commit e4613df into kcp-dev:main Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants