From ee3b7c5da5fef7931a5d421e5467aacc73147b77 Mon Sep 17 00:00:00 2001 From: Lukas Najman <79805045+LukasNajman@users.noreply.github.com> Date: Thu, 15 Dec 2022 10:21:35 +0100 Subject: [PATCH] Use the correct api version and resourcer type. The current values work but do not match the documentation, which can be confusing. (#9575) --- .../control-plane/templates/secrets_encryption.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }}