Skip to content

Commit

Permalink
Fix changed example manifests
Browse files Browse the repository at this point in the history
Signed-off-by: Fatih Türken <[email protected]>
  • Loading branch information
turkenf committed Oct 22, 2024
1 parent 8003724 commit 48a623b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
8 changes: 4 additions & 4 deletions examples/binaryauthorization/v1beta2/policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
requireAttestationsByRefs:
- name: attestor
defaultAdmissionRule:
- enforcementMode: ENFORCED_BLOCK_AND_AUDIT_LOG
enforcementMode: ENFORCED_BLOCK_AND_AUDIT_LOG
evaluationMode: ALWAYS_ALLOW

---
Expand All @@ -37,7 +37,7 @@ metadata:
spec:
forProvider:
attestationAuthorityNote:
- noteReferenceSelector:
noteReferenceSelector:
matchLabels:
testing.upbound.io/example-name: note

Expand All @@ -54,5 +54,5 @@ metadata:
spec:
forProvider:
attestationAuthority:
- hint:
- humanReadableName: My attestor
hint:
humanReadableName: My attestor
2 changes: 1 addition & 1 deletion examples/certificatemanager/v1beta2/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
labels:
env: test
managed:
- dnsAuthorizationsRefs:
dnsAuthorizationsRefs:
- name: instance
- name: instance2
domainsRefs:
Expand Down
12 changes: 5 additions & 7 deletions examples/compute/v1beta2/instancetemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -68,7 +66,7 @@ spec:

---

apiVersion: compute.gcp.upbound.io/v1beta2
apiVersion: compute.gcp.upbound.io/v1beta1
kind: ResourcePolicy
metadata:
annotations:
Expand Down

0 comments on commit 48a623b

Please sign in to comment.