I come across this link https://docs.mongodb.com/manual/tutorial/configure-encryption/ and it is exactly I want to do. But I can’t find any doc saying how to do when deploying the db CRD in k8s. So I wonder if data encryption is support in k8s operator?
for Enterprise operator you can do it. not sure with community version.
additionalMongodConfig: security: enableEncryption: true kmip: clientCertificateFile: "/kmip/cert/cert.pem" serverCAFile: "/kmip/ca/ca.pem" serverName: xx.xx.xx.xx port: xxxx