Skip to content

encryption-provider-operator is managing encryption config for encrypting k8s secrets in etcd

License

Notifications You must be signed in to change notification settings

giantswarm/encryption-provider-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

encryption-provider-operator

encryption-provider-operator is creating and updating encryption config for k8s secret encryption of secret in etcd

simplified process of key rotation

  • trigger new keyrotation -> either via annotation or after some period
  • new encryption config file is generated with old and new key, the new key on the first position
  • install encryption config hasher on the cluster and calculate hashes
  • operator waits until all nodes have the hash of the config that is equal to what it sees in the MC
  • operator will recreate all secrets
  • operator will update the encryption config and remove the old key the * last step is to roll all master nodes again but it's not required or watched by the controller