Documentation ¶
Index ¶
- func CreateEncryptionToken() error
- func EnforceAdmissionPluginsRequirements(cfg *kubeadmapi.ClusterConfiguration) error
- func EnforceAuditingRequirements(cfg *kubeadmapi.ClusterConfiguration) error
- func EnforceExtraRequirements(cfg *kubeadmapi.ClusterConfiguration) error
- func EnforceMasterRequirements(cfg *kubeadmapi.ClusterConfiguration, generateSecret bool) error
- func EnforceSecretRequirements(cfg *kubeadmapi.ClusterConfiguration) error
- func EnforceTLSRequirements(cfg *kubeadmapi.ClusterConfiguration) error
- func EnforceWorkerRequirements(cfg *kubeadmapi.JoinConfiguration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEncryptionToken ¶
func CreateEncryptionToken() error
CreateEncryptionToken generates an encryption token to be used for secrets
func EnforceAdmissionPluginsRequirements ¶
func EnforceAdmissionPluginsRequirements(cfg *kubeadmapi.ClusterConfiguration) error
EnforceAdmissionPluginsRequirements enforces CIS requirements for admission plugins. TODO(andrewrynhard): Include any extra user specified plugins. TODO(andrewrynhard): Enable EventRateLimit. TODO(andrewrynhard): Enable AlwaysPullImages (See https://github.com/kubernetes/kubernetes/issues/64333).
func EnforceAuditingRequirements ¶
func EnforceAuditingRequirements(cfg *kubeadmapi.ClusterConfiguration) error
EnforceAuditingRequirements enforces CIS requirements for auditing.
func EnforceExtraRequirements ¶
func EnforceExtraRequirements(cfg *kubeadmapi.ClusterConfiguration) error
EnforceExtraRequirements enforces miscellaneous CIS requirements. TODO(andrewrynhard): Enable anonymous-auth, see https://github.com/kubernetes/kubeadm/issues/798. TODO(andrewrynhard): Enable kubelet-certificate-authority, see https://github.com/kubernetes/kubeadm/issues/118#issuecomment-407202481.
func EnforceMasterRequirements ¶
func EnforceMasterRequirements(cfg *kubeadmapi.ClusterConfiguration, generateSecret bool) error
EnforceMasterRequirements enforces the CIS requirements for master nodes.
func EnforceSecretRequirements ¶
func EnforceSecretRequirements(cfg *kubeadmapi.ClusterConfiguration) error
EnforceSecretRequirements enforces CIS requirements for secrets.
func EnforceTLSRequirements ¶
func EnforceTLSRequirements(cfg *kubeadmapi.ClusterConfiguration) error
EnforceTLSRequirements enforces CIS requirements for TLS.
func EnforceWorkerRequirements ¶
func EnforceWorkerRequirements(cfg *kubeadmapi.JoinConfiguration) error
EnforceWorkerRequirements enforces the CIS requirements for master nodes.
Types ¶
This section is empty.