Encrypt Customer Resource Definition with EncryptionConfig


#1

Hi.

I’m trying to find out if it is possible to encrypt instances of CRDs with the Kube EncryptionConfig.

These are the different options I’ve tried in my cluster without being able to see the CRDs instances being encrypted.

resources:
  - resources:
    - secrets
    - customresourcedefinitions
    - mysecrets.group
    - mysecrets
    - MySecret
    - group/mysecrets
    - /kubernetes.io/group/mysecrets
    - kubernetes.io/group/mysecrets

I’d like to know if it theoretically possible. If it is some help on figuring out the correct sytanx would be appreciated.

Thanks
Sam