-
Notifications
You must be signed in to change notification settings - Fork 558
Add etcd encryption key #2756
Add etcd encryption key #2756
Conversation
pkg/api/vlabs/validate.go
Outdated
if o.KubernetesConfig.EtcdEncryptionKey != "" { | ||
_, err = base64.StdEncoding.DecodeString(o.KubernetesConfig.EtcdEncryptionKey) | ||
if err != nil { | ||
return fmt.Errorf("etcdEncryptionKey must be base64 encoded. Please provide a valid base64 encoded value or leave the etcdEncryptionKey empty to auto-generate the value") |
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.
👍
Codecov Report
@@ Coverage Diff @@
## master #2756 +/- ##
==========================================
- Coverage 46.93% 46.92% -0.02%
==========================================
Files 86 86
Lines 12786 12802 +16
==========================================
+ Hits 6001 6007 +6
- Misses 6231 6240 +9
- Partials 554 555 +1
Continue to review full report at Codecov.
|
23b5bed
to
a4c1297
Compare
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.
lgtm
Back compat test running at https://jenkins.azure-containers.io/view/acs-engine%20ad-hoc/job/k8s-upgrade/83 |
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.
LGTM
What this PR does / why we need it:
Re-implement #2694 because CLA was not signed.
In @croeck 's words:
Bugfix to deploy a common etcd encryption key on all master nodes.
/etc/cni/net.d
was not present on all but one masterkubeConfig
, or will be generated before deployment.Test setup
Which issue this PR fixes
relates to #2521 and #2587
In this PR it is stated that Kubernetes 1.10 was not yet achieved with Calico 3. This was however possible for me.
relates to #2202
Most likely fixes this issue, but I did not test with 1.9 and calico 2.x