Amending Encryption Configuration Section

This commit is contained in:
divya-mohan0209
2022-04-11 11:33:37 +05:30
parent 0b2354996d
commit 98cd5108a3
@@ -272,6 +272,13 @@ data:
# Example EncryptionConfiguration
The snippet below demonstrates two different types of secrets and their relevance with respect to Backup and Restore of custom resources.s
The first example is that of a secret that is used to encrypt the backup files. The backup operator, in this case, will not be able to read the secrets encryption file. It only uses the contents of the secret.
The second example is that of a Kubernetes secrets encryption config file that is used to encrypt secrets when stored in etcd. It is important to note that while backing up your etcd config ensure you also backup your EncryptionConfiguration. Failing to do so might result in you not being able to use the restored data.
```yaml
apiVersion: apiserver.config.k8s.io/v1
kind: EncryptionConfiguration