mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-24 14:22:14 -05:00
Apply CIS benchmark to kubelet conf
Signed-off-by: Malte Poll <mp@edgeless.systems> Co-authored-by: Moritz Eckert <me@edgeless.systems>
This commit is contained in:
parent
adda637609
commit
5ad34e0425
@ -81,6 +81,17 @@ func (c *CoreOSConfiguration) InitConfiguration(externalCloudProvider bool) Kube
|
|||||||
},
|
},
|
||||||
// warning: this config is applied to every node in the cluster!
|
// warning: this config is applied to every node in the cluster!
|
||||||
KubeletConfiguration: kubeletconf.KubeletConfiguration{
|
KubeletConfiguration: kubeletconf.KubeletConfiguration{
|
||||||
|
ProtectKernelDefaults: true, // CIS benchmark
|
||||||
|
TLSCipherSuites: []string{
|
||||||
|
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
|
||||||
|
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
|
||||||
|
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
|
||||||
|
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
|
||||||
|
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305",
|
||||||
|
"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
|
||||||
|
"TLS_RSA_WITH_AES_256_GCM_SHA384",
|
||||||
|
"TLS_RSA_WITH_AES_128_GCM_SHA256",
|
||||||
|
}, // CIS benchmark
|
||||||
TypeMeta: v1.TypeMeta{
|
TypeMeta: v1.TypeMeta{
|
||||||
APIVersion: kubeletconf.SchemeGroupVersion.String(),
|
APIVersion: kubeletconf.SchemeGroupVersion.String(),
|
||||||
Kind: "KubeletConfiguration",
|
Kind: "KubeletConfiguration",
|
||||||
|
Loading…
Reference in New Issue
Block a user