-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Introduce apiserver.config.k8s.io/v1 and use standard method for parsing encryption config file #67383
Conversation
/release-note-none |
/ok-to-test |
/retest |
Added a release note. |
CC @liggitt @sttts @ericchiang as you were reviewing the original PR, too. |
...8s.io/apiserver/pkg/admission/plugin/webhook/config/apis/webhookadmission/install/install.go
Outdated
Show resolved
Hide resolved
...g/src/k8s.io/apiserver/pkg/admission/plugin/webhook/config/apis/webhookadmission/register.go
Outdated
Show resolved
Hide resolved
"k8s.io/apimachinery/pkg/runtime/schema" | ||
"k8s.io/apimachinery/pkg/runtime/serializer" | ||
kubecfg "k8s.io/apiserver/pkg/apis/config" | ||
kubecfgv1 "k8s.io/apiserver/pkg/apis/config/v1" |
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.
apiserverconfigv1
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go
Show resolved
Hide resolved
@@ -33,7 +33,7 @@ import ( | |||
|
|||
corev1 "k8s.io/api/core/v1" | |||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |||
"k8s.io/apiserver/pkg/server/options/encryptionconfig" | |||
kubecfgv1 "k8s.io/apiserver/pkg/apis/config/v1" |
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.
apiserverconfigv1
/milestone v1.12 We need this for 1.12 right? please clear milestone if not |
/lgtm |
staging godeps need updating ( |
cc @immutableT for gce encryption config change. can you review and tag the appropriate approver? |
471bfcf
to
628d1fe
Compare
Updated godeps. Hopefully everything will be alright now. |
/lgtm |
/assign @mikedanese |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, mikedanese, 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 |
Please add the appropriate |
/priority important-soon |
@stlaz can you open a PR against https://github.com/kubernetes/website/tree/dev-1.13 updating the documentation around the encryption config file, noting the apiVersion and kind as of 1.13? |
/retest |
/priority critical-urgent |
@stlaz: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
@liggitt I will open a doc PR later today. |
What this PR does / why we need it:
This PR reworks handling of the configuration file for encryption at rest. Now it uses a standard approach for parsing and also it supports versioning. Also bumps encryption config to v1 (see #63032 (comment) for reasons)
/sig auth
/release-note-none
CC @simo5 @marrrvin @luxas
Fixes: #61420
Fixes: #61599
Obsoletes PR #63032