feat(encryption): implement AWS KMS integration with encryption provider and update related configurations
This commit is contained in:
@@ -7,21 +7,8 @@
|
||||
|
||||
- name: Create encryption configuration
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
---
|
||||
apiVersion: apiserver.config.k8s.io/v1
|
||||
kind: EncryptionConfiguration
|
||||
resources:
|
||||
- resources:
|
||||
- secrets
|
||||
- configmaps
|
||||
providers:
|
||||
- aescbc:
|
||||
keys:
|
||||
- name: k8s-crypto
|
||||
secret: {{ microk8s_encryption_secret }}
|
||||
- identity: {}
|
||||
ansible.builtin.template:
|
||||
src: encryption-provider-config.yml.j2
|
||||
dest: "{{ microk8s_encryption_cfg }}"
|
||||
mode: "0600"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user