Tool to help with migration of multiple/all secrets to a new cluster
#365 aperta il 26 feb 2020
Metriche repository
- Star
- (9222 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Some users need to migrate their workload to another cluster. The set of all the manifests of their workload include all the SealedSecret manifests.
Commonly people simply copy the sealed-secret's controller sealing key(s) into another cluster (e.g. following the backup/restore procedures in our docs) and call it a day.
Copying private keys around is a great way to increase your chances of leaking your private key.
There may be a better way: we could create a tool that performs the same task that kubeseal --re-encrypt but by using an arbitrary public key (the one of the target cluster) and in a way that is amenable to be operated in bulk.