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

API-1673: Add description annotations to service CA secret and configmap #225

Merged
merged 1 commit into from Dec 1, 2023

Conversation

dinhxuanvu
Copy link
Member

@dinhxuanvu dinhxuanvu commented Nov 14, 2023

Service CA generates a secret and configmap for its signing key.
These secret and configmap need to have description annotation
to conform to the new cert ownership validation.

For all secrets that are created by service CA for services, an
ownership and description annotations are generated to indicate
service CA owns these secrets and its corresponding service owner.

Signed-off-by: Vu Dinh vudinh@outlook.com

@openshift-ci openshift-ci bot requested review from deads2k and stlaz November 14, 2023 16:05
@dinhxuanvu dinhxuanvu marked this pull request as draft November 14, 2023 16:09
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 14, 2023
@dinhxuanvu dinhxuanvu force-pushed the cert-description branch 2 times, most recently from 19600fd to 2d3d8cf Compare November 14, 2023 17:00
@dinhxuanvu dinhxuanvu marked this pull request as ready for review November 14, 2023 17:01
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 14, 2023
@dinhxuanvu dinhxuanvu force-pushed the cert-description branch 2 times, most recently from edc7c2b to b143757 Compare November 14, 2023 17:10
@dinhxuanvu
Copy link
Member Author

@deads2k @vrutkovs PTAL

@dinhxuanvu
Copy link
Member Author

/retest

@deads2k
Copy link
Contributor

deads2k commented Nov 15, 2023

configmaps with injected CA bundles need descriptions (if not present) too. They should describe what sorts of certificates they can be used to verify.

@dinhxuanvu dinhxuanvu force-pushed the cert-description branch 2 times, most recently from d7fd721 to 6a6ba04 Compare November 17, 2023 17:16
@dinhxuanvu
Copy link
Member Author

/retest

1 similar comment
@dinhxuanvu
Copy link
Member Author

/retest

@dinhxuanvu
Copy link
Member Author

@deads2k PTAL. Thanks

@dinhxuanvu dinhxuanvu force-pushed the cert-description branch 2 times, most recently from c9bab5a to 5c0ebfe Compare November 30, 2023 20:51
@deads2k
Copy link
Contributor

deads2k commented Nov 30, 2023

/lgtm

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 30, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 30, 2023
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 30, 2023
Service CA generates a secret and configmap for its signing key.
These secret and configmap need to have description annotation
to conform to the new cert ownership validation.

For all secrets that are created by service CA for services, an
ownership and description annotations are generated to indicate
service CA owns these secrets and its corresponding service owner.

Signed-off-by: Vu Dinh <vudinh@outlook.com>
@deads2k
Copy link
Contributor

deads2k commented Nov 30, 2023

/lgtm

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

openshift-ci bot commented Nov 30, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, dinhxuanvu

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

Copy link
Contributor

openshift-ci bot commented Nov 30, 2023

@dinhxuanvu: 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.

@dinhxuanvu dinhxuanvu changed the title Add description annotations to service CA secret and configmap API-1673: Add description annotations to service CA secret and configmap Dec 1, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Dec 1, 2023

@dinhxuanvu: This pull request references API-1673 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

In response to this:

Service CA generates a secret and configmap for its signing key.
These secret and configmap need to have description annotation
to conform to the new cert ownership validation.

For all secrets that are created by service CA for services, an
ownership and description annotations are generated to indicate
service CA owns these secrets and its corresponding service owner.

Signed-off-by: Vu Dinh vudinh@outlook.com

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.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Dec 1, 2023
@openshift-merge-bot openshift-merge-bot bot merged commit 4d3d966 into openshift:master Dec 1, 2023
8 checks passed
@dinhxuanvu dinhxuanvu deleted the cert-description branch December 1, 2023 00:13
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-service-ca-operator-container-v4.15.0-202312010209.p0.g4d3d966.assembly.stream for distgit ose-service-ca-operator.
All builds following this will include this PR.

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. 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

5 participants