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

AUTH-296: Cut off the root CA from the cluster-distributed client CA #949

Merged
merged 4 commits into from
Sep 19, 2022

Conversation

stlaz
Copy link
Member

@stlaz stlaz commented Sep 12, 2022

This PR makes the following changes:

@copejon
Copy link
Contributor

copejon commented Sep 12, 2022

It appears that MicroShift is crashing during the boot phase, but the stack trace is overflowing the output here, which makes it hard to understand what's causing it.

@stlaz
Copy link
Member Author

stlaz commented Sep 13, 2022

I've create the dev environment to debug. Looks like the logic writes two certificates into the CSR signer cert file, which Kube does not seem to like. I'll fix this.

@stlaz
Copy link
Member Author

stlaz commented Sep 13, 2022

The latest patch should make the KCM start again

@stlaz
Copy link
Member Author

stlaz commented Sep 13, 2022

/test periodics-images

@stlaz
Copy link
Member Author

stlaz commented Sep 13, 2022

/test e2e-openshift-conformance-sig-api-machinery

@stlaz
Copy link
Member Author

stlaz commented Sep 13, 2022

the test failure is actually related to the changes here, I need to investigate
fixed

@stlaz
Copy link
Member Author

stlaz commented Sep 14, 2022

/test all

The current cert creation tooling might be confused if we did not
provide a service name. I'm supplying "remove-this" as this code
should be refactored soon.A

The current cert creation tooling might be confused if we did not
provide a service name. I'm supplying "remove-this" as this code
should be refactored soon.
"tls.crt", "tls.key",
[]string{"system:admin", "system:masters"}); err != nil {
[]string{"remove-this"}); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not understanding this. Are you including "remove-this" in order to remember that we have to refactor this piece of code?

Copy link
Member Author

Choose a reason for hiding this comment

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

Exactly, in fact, this piece of code goes away with #951

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, I'd have prefered a // TODO: comment, but since it's going away in the next PR, I'm ok with it.

@oglok
Copy link
Contributor

oglok commented Sep 19, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 19, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 19, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: oglok, stlaz

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 Sep 19, 2022
@stlaz
Copy link
Member Author

stlaz commented Sep 19, 2022

/test e2e-rpm-install

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 19, 2022

@stlaz: all tests passed!

Full PR test history. Your PR dashboard.

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.

@openshift-merge-robot openshift-merge-robot merged commit 7ed5b73 into openshift:main Sep 19, 2022
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.

None yet

4 participants