diff --git a/roles/kubernetes/control-plane/templates/secrets_encryption.yaml.j2 b/roles/kubernetes/control-plane/templates/secrets_encryption.yaml.j2 index fae9bab32..9105bb69b 100644 --- a/roles/kubernetes/control-plane/templates/secrets_encryption.yaml.j2 +++ b/roles/kubernetes/control-plane/templates/secrets_encryption.yaml.j2 @@ -1,5 +1,5 @@ -kind: EncryptionConfig -apiVersion: v1 +apiVersion: apiserver.config.k8s.io/v1 +kind: EncryptionConfiguration resources: - resources: {{ kube_encryption_resources|to_nice_yaml|indent(4, True) }}