From 5b97c538f0dfdc60e5d1b73506f6f0c482a1a1a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20T=C3=BCrken?= Date: Fri, 31 May 2024 20:53:26 +0300 Subject: [PATCH] Fix examples for v1beta2 versions of the following resources: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fatih Türken --- .../v1beta2/fieldlevelencryptionprofile.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/examples/cloudfront/v1beta2/fieldlevelencryptionprofile.yaml b/examples/cloudfront/v1beta2/fieldlevelencryptionprofile.yaml index 826fc082c0..5c328fef8f 100644 --- a/examples/cloudfront/v1beta2/fieldlevelencryptionprofile.yaml +++ b/examples/cloudfront/v1beta2/fieldlevelencryptionprofile.yaml @@ -5,9 +5,11 @@ apiVersion: cloudfront.aws.upbound.io/v1beta2 kind: FieldLevelEncryptionProfile metadata: - name: example-field-level-encryption-profile + annotations: + meta.upbound.io/example-id: cloudfront/v1beta2/fieldlevelencryptionprofile labels: - testing.upbound.io/example-name: publickey + testing.upbound.io/example-name: example-field-level-encryption-profile + name: example-field-level-encryption-profile spec: forProvider: region: us-west-1 @@ -15,12 +17,12 @@ spec: encryptionEntities: items: - fieldPatterns: - - items: - - DateOfBirth + items: + - DateOfBirth providerId: testprovider publicKeyIdSelector: matchLabels: - testing.upbound.io/example-name: publickey + testing.upbound.io/example-name: example-field-level-encryption-profile name: ${Rand.RFC1123Subdomain} --- @@ -28,9 +30,11 @@ spec: apiVersion: cloudfront.aws.upbound.io/v1beta1 kind: PublicKey metadata: - name: example-public-key + annotations: + meta.upbound.io/example-id: cloudfront/v1beta2/fieldlevelencryptionprofile labels: - testing.upbound.io/example-name: publickey + testing.upbound.io/example-name: example-field-level-encryption-profile + name: example-public-key-prof spec: forProvider: region: us-west-1