-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
UPSTREAM: Add AES-CBC and Secretbox encryption #14517
Conversation
[test] |
@php-coder FYI |
flake: #14496 [test] |
@smarterclayton you need to tweak the pick for |
LGTM after fixing commits //cc @php-coder for the config changes |
Of of Memory building network [test]
|
Router flake, no route to host from integration TestRouter [test] |
Evaluated for origin test up to a8fec68 |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2045/) (Base Commit: 2458531) |
[merge] (since this is pure upstream code) I think we want to use the upstream config. |
Evaluated for origin merge up to a8fec68 |
continuous-integration/openshift-jenkins/merge FAILURE (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/959/) (Base Commit: 7f9567a) |
Dind flake fedora:25 not found? Merging |
Yeah, seen that elsewhere and it seems to block the queue now |
Opened #14573 |
const ( | ||
aesCBCTransformerPrefixV1 = "k8s:enc:aescbc:v1:" | ||
aesGCMTransformerPrefixV1 = "k8s:enc:aesgcm:v1:" | ||
secretboxTransformerPrefixV1 = "k8s:enc:secretbox: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.
@smarterclayton I see that we haven't backported fix for this: kubernetes/kubernetes#47537 Do we need it to be backported?
Yup
On Jun 19, 2017, at 1:03 PM, Vyacheslav Semushin <[email protected]> wrote:
*@php-coder* commented on this pull request.
------------------------------
In
vendor/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go
<#14517 (comment)>:
+ "io/ioutil"
+ "os"
+
+ yaml "github.com/ghodss/yaml"
+
+ "k8s.io/apimachinery/pkg/runtime/schema"
+ "k8s.io/apiserver/pkg/storage/value"
+ aestransformer "k8s.io/apiserver/pkg/storage/value/encrypt/aes"
+ "k8s.io/apiserver/pkg/storage/value/encrypt/identity"
+ "k8s.io/apiserver/pkg/storage/value/encrypt/secretbox"
+)
+
+const (
+ aesCBCTransformerPrefixV1 = "k8s:enc:aescbc:v1:"
+ aesGCMTransformerPrefixV1 = "k8s:enc:aesgcm:v1:"
+ secretboxTransformerPrefixV1 = "k8s:enc:secretbox:v1"
@smarterclayton <https://github.com/smarterclayton> I see that we haven't
backported fix for this: #47537 Do we need it to be backported?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14517 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_p4VUz8CUWkQRsvqgASqRU76Me6NQks5sFqnngaJpZM4Nzlt0>
.
|
@smarterclayton Ok, I'll create a PR for that. |
Completes the pick of the upstream changes for Kube 1.7 for encryption at rest of secrets. Includes the new config loading.