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
[KMSv2] apiserver/kmsv2: mv Service interface into kmsv2 #114922
Conversation
Hi @ibihim. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
/remove-sig api-machinery |
/triage accepted |
85c08cf
to
8128c76
Compare
8128c76
to
019cfaa
Compare
@@ -30,6 +30,8 @@ import ( | |||
"k8s.io/apiserver/pkg/storage/value" | |||
aestransformer "k8s.io/apiserver/pkg/storage/value/encrypt/aes" | |||
kmstypes "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one small nit!
pull-kubernetes-unit
failure might just be a flake.
@@ -49,6 +49,7 @@ import ( | |||
"k8s.io/apiserver/pkg/storage/value/encrypt/identity" | |||
"k8s.io/apiserver/pkg/storage/value/encrypt/secretbox" | |||
utilfeature "k8s.io/apiserver/pkg/util/feature" | |||
kmssvc "k8s.io/kms/service" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not 100% consistent about this but generally we use the last N
segments when we want a better name (in this case N=2
):
kmssvc "k8s.io/kms/service" | |
kmsservice "k8s.io/kms/service" |
(applies to all the files)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok! :) I am just slightly unhappy with the stutter kmsservice.Service
. I wish I could come up with better naming.
Signed-off-by: Krzysztof Ostrowski <kostrows@redhat.com>
019cfaa
to
b7701b0
Compare
/lgtm |
LGTM label has been added. Git tree hash: 289f4f626a7e502edfe52c06a75049330ef89a60
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, enj, ibihim 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 |
Signed-off-by: Krzysztof Ostrowski kostrows@redhat.com
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Removes duplicate kms v2 service interface.
It got copied into k8s.io/kms as a first step and it is now being remove from k8s.io/apiserver (but imported).
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: