From 48a623b792bb49caa40d5ea0760f8c21fbc77e56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20T=C3=BCrken?= Date: Tue, 22 Oct 2024 23:19:35 +0300 Subject: [PATCH] Fix changed example manifests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fatih Türken --- examples/binaryauthorization/v1beta2/policy.yaml | 8 ++++---- examples/certificatemanager/v1beta2/certificate.yaml | 2 +- examples/compute/v1beta2/instancetemplate.yaml | 12 +++++------- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/examples/binaryauthorization/v1beta2/policy.yaml b/examples/binaryauthorization/v1beta2/policy.yaml index 015cf5bae..bc4bacafa 100644 --- a/examples/binaryauthorization/v1beta2/policy.yaml +++ b/examples/binaryauthorization/v1beta2/policy.yaml @@ -21,7 +21,7 @@ spec: requireAttestationsByRefs: - name: attestor defaultAdmissionRule: - - enforcementMode: ENFORCED_BLOCK_AND_AUDIT_LOG + enforcementMode: ENFORCED_BLOCK_AND_AUDIT_LOG evaluationMode: ALWAYS_ALLOW --- @@ -37,7 +37,7 @@ metadata: spec: forProvider: attestationAuthorityNote: - - noteReferenceSelector: + noteReferenceSelector: matchLabels: testing.upbound.io/example-name: note @@ -54,5 +54,5 @@ metadata: spec: forProvider: attestationAuthority: - - hint: - - humanReadableName: My attestor + hint: + humanReadableName: My attestor diff --git a/examples/certificatemanager/v1beta2/certificate.yaml b/examples/certificatemanager/v1beta2/certificate.yaml index afdc14f15..4211a63ca 100644 --- a/examples/certificatemanager/v1beta2/certificate.yaml +++ b/examples/certificatemanager/v1beta2/certificate.yaml @@ -18,7 +18,7 @@ spec: labels: env: test managed: - - dnsAuthorizationsRefs: + dnsAuthorizationsRefs: - name: instance - name: instance2 domainsRefs: diff --git a/examples/compute/v1beta2/instancetemplate.yaml b/examples/compute/v1beta2/instancetemplate.yaml index 1c862eda5..fdd268194 100644 --- a/examples/compute/v1beta2/instancetemplate.yaml +++ b/examples/compute/v1beta2/instancetemplate.yaml @@ -18,7 +18,7 @@ spec: - autoDelete: false boot: true resourcePoliciesRefs: - - name: daily_backup + - name: daily-backup sourceImage: debian-cloud/debian-11 - autoDelete: false boot: false @@ -33,14 +33,12 @@ spec: foo: bar name: appserver-template networkInterface: - - networkSelector: - matchLabels: - testing.upbound.io/example-name: example + - network: default scheduling: - - automaticRestart: true + automaticRestart: true onHostMaintenance: MIGRATE serviceAccount: - - emailSelector: + emailSelector: matchLabels: testing.upbound.io/example-name: default scopes: @@ -68,7 +66,7 @@ spec: --- -apiVersion: compute.gcp.upbound.io/v1beta2 +apiVersion: compute.gcp.upbound.io/v1beta1 kind: ResourcePolicy metadata: annotations: