Skip to content

Fix TLSChallenge certificate test flake and increase cert expiry date#3843

Merged
SimonBaeumer merged 6 commits intomasterfrom
sb/fix-certificate-test-flake
Nov 17, 2022
Merged

Fix TLSChallenge certificate test flake and increase cert expiry date#3843
SimonBaeumer merged 6 commits intomasterfrom
sb/fix-certificate-test-flake

Conversation

@SimonBaeumer
Copy link
Copy Markdown
Contributor

Description

Fix TLSChallenge certificate test flake and increase cert expiry date.
The cert expires now after ~200years for the load balancer.
Additionally the documentation was improved to make it easier to exchange certificates if necessary.

Checklist

  • Investigated and inspected CI test results
  • Unit test and regression tests added
  • Evaluated and added CHANGELOG entry if required
  • Determined and documented upgrade steps
  • Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.

Testing Performed

  • Run unit tests

@gitguardian
Copy link
Copy Markdown

gitguardian bot commented Nov 17, 2022

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id Secret Commit Filename
3038032 Generic High Entropy Secret f219ff0 sensor/common/centralclient/client_test.go View secret
3038032 Generic High Entropy Secret f219ff0 sensor/common/centralclient/client_test.go View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

// 1. Deploy a new StackRox instance
// 2. Create and generate a new CA and replace it in the additional-ca.yaml:
// $ openssl genrsa -des3 -out myCA.key 2048
// $ openssl req -x509 -new -nodes -key myCA.key -sha256 -days 1825 -out myCA.pem -days 100000 -subj '/CN=Root LoadBalancer Certificate Authority'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shall we set a reminder in our calendars for 1st of September 2296, so that we don't forget to renew? 😉

@theencee
Copy link
Copy Markdown
Contributor

Why is there an empty operator/helm_deploy/deploy.yaml file?

@ghost
Copy link
Copy Markdown

ghost commented Nov 17, 2022

Images are ready for the commit at 65676c2.

To use with deploy scripts, first export MAIN_IMAGE_TAG=3.73.x-19-g65676c2354.

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Nov 17, 2022

@SimonBaeumer: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/gke-postgres-nongroovy-e2e-tests b3cffa0 link false /test gke-postgres-nongroovy-e2e-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@SimonBaeumer SimonBaeumer enabled auto-merge (squash) November 17, 2022 17:29
@SimonBaeumer SimonBaeumer merged commit 22fc678 into master Nov 17, 2022
@SimonBaeumer SimonBaeumer deleted the sb/fix-certificate-test-flake branch November 17, 2022 17:52
@janisz janisz added this to the 3.73.0-rc.1 milestone Nov 21, 2022
@github-actions
Copy link
Copy Markdown
Contributor

Merge commit has been cherry-picked to branch release-3.73.

@github-actions
Copy link
Copy Markdown
Contributor

Please merge the changes to branch release-3.73.

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

Please merge the changes to branch release-3.73.

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.

5 participants