gravitational / planet

Installable Kubernetes delivered in containers
Apache License 2.0
51 stars 18 forks source link

Allow encryption of Kubernetes resources #865

Closed bernardjkim closed 3 years ago

bernardjkim commented 3 years ago

Description

These changes allow Kubernetes resources to be encrypted at rest.

aws-encryption-provider binary is now built into Planet. A systemd unit file and an encryption-configuration file are also included. The configuration file can be found under /etc/kubernetes/encryption-configuration.yaml.

Planet now takes flags for:

If encryption is enabled, the aws-encryption-provider service is enabled and the kube-apiserver will be configured with the flag --encryption-provider-config=/etc/kubernetes/encryption-configuration.yaml

wadells commented 3 years ago

Just some clean up. It looks like master-docker.mk is unused and is the same as planet.mk

Would you split these out into a separate PR please? I'm all for clean up, but it gives a much cleaner history if orthogonal changes are independent.