Skip to content

Commit f88a5be

Browse files
author
lovelace-coder-bot
committed
tests/apichecks: update schema violations exceptions list
1 parent 4b853a5 commit f88a5be

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/apichecks/testdata/exceptions/schema_violations.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,14 @@
2020
[schema_violation] file=basic/binaryauthorization/v1beta1/binaryauthorizationattestor gvk=binaryauthorization.cnrm.cloud.google.com/v1beta1, Kind=BinaryAuthorizationAttestor: [].spec.projectRef: Required value
2121
[schema_violation] file=basic/cloudbuild/v1beta1/cloudbuildtrigger/cloudbuildtrigger gvk=cloudbuild.cnrm.cloud.google.com/v1beta1, Kind=CloudBuildTrigger: [].spec.location: Required value
2222
[schema_violation] file=basic/cloudiot/v1alpha1/cloudiotdeviceregistry/cloudiotdeviceregistryautogen gvk=cloudiot.cnrm.cloud.google.com/v1alpha1, Kind=CloudIOTDeviceRegistry: [].spec.region: Required value
23-
[schema_violation] file=basic/compute/v1alpha1/computediskresourcepolicyattachment/diskresourcepolicyattachmentautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeDisk: [].spec.location: Required value
2423
[schema_violation] file=basic/compute/v1alpha1/computediskresourcepolicyattachment/diskresourcepolicyattachmentautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeDisk: [].spec: Invalid value: "image": spec.image in body is a forbidden property
25-
[schema_violation] file=basic/compute/v1alpha1/computediskresourcepolicyattachment/diskresourcepolicyattachmentautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeDisk: [].spec: Invalid value: "zone": spec.zone in body is a forbidden property
2624
[schema_violation] file=basic/compute/v1alpha1/computediskresourcepolicyattachment/diskresourcepolicyattachmentautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeResourcePolicy: [].spec.snapshotSchedulePolicy: Invalid value: "array": spec.snapshotSchedulePolicy in body must be of type object: "array"
2725
[schema_violation] file=basic/compute/v1alpha1/computemachineimage/machineimageautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeInstance: [].spec.bootDisk: Invalid value: "array": spec.bootDisk in body must be of type object: "array"
2826
[schema_violation] file=basic/compute/v1alpha1/computemachineimage/machineimageautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeInstance: [].spec.networkInterface[0]: Invalid value: "network": spec.networkInterface[0].network in body is a forbidden property
2927
[schema_violation] file=basic/compute/v1alpha1/computemachineimage/machineimageautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeInstance: [].spec.zone: Required value
3028
[schema_violation] file=basic/compute/v1alpha1/computemachineimage/machineimageautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeInstance: []: Invalid value: "": "spec" must validate at least one schema (anyOf)
3129
[schema_violation] file=basic/compute/v1alpha1/computenetworkfirewallpolicyrule/computenetworkfirewallpolicyrulebasic gvk=compute.cnrm.cloud.google.com/v1alpha1, Kind=ComputeNetworkFirewallPolicyRule: [].spec.projectRef: Required value
32-
[schema_violation] file=basic/compute/v1alpha1/computeregiondiskresourcepolicyattachment/regiondiskresourcepolicyattachmentautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeDisk: [].spec.location: Required value
3330
[schema_violation] file=basic/compute/v1alpha1/computeregiondiskresourcepolicyattachment/regiondiskresourcepolicyattachmentautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeDisk: [].spec: Invalid value: "image": spec.image in body is a forbidden property
34-
[schema_violation] file=basic/compute/v1alpha1/computeregiondiskresourcepolicyattachment/regiondiskresourcepolicyattachmentautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeDisk: [].spec: Invalid value: "region": spec.region in body is a forbidden property
35-
[schema_violation] file=basic/compute/v1alpha1/computeregiondiskresourcepolicyattachment/regiondiskresourcepolicyattachmentautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeDisk: [].spec: Invalid value: "zone": spec.zone in body is a forbidden property
3631
[schema_violation] file=basic/compute/v1alpha1/computeregiondiskresourcepolicyattachment/regiondiskresourcepolicyattachmentautogen gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeResourcePolicy: [].spec.snapshotSchedulePolicy: Invalid value: "array": spec.snapshotSchedulePolicy in body must be of type object: "array"
3732
[schema_violation] file=basic/compute/v1beta1/computenetworkfirewallpolicy gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeNetworkFirewallPolicy: [].spec.projectRef: Required value
3833
[schema_violation] file=basic/compute/v1beta1/computenetworkfirewallpolicyassociation gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeNetworkFirewallPolicy: [].spec.projectRef: Required value
@@ -120,7 +115,6 @@
120115
[schema_violation] file=iam/iampartialpolicy/resources/cloudfunctionsfunction-conditions gvk=cloudfunctions.cnrm.cloud.google.com/v1beta1, Kind=CloudFunctionsFunction: [].spec.region: Required value
121116
[schema_violation] file=iam/iampartialpolicy/resources/computebackendbucket gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeBackendBucket: [].spec.bucketRef: Required value
122117
[schema_violation] file=iam/iampartialpolicy/resources/computebackendbucket gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeBackendBucket: [].spec: Invalid value: "bucketName": spec.bucketName in body is a forbidden property
123-
[schema_violation] file=iam/iampartialpolicy/resources/computedisk gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeDisk: [].spec.location: Required value
124118
[schema_violation] file=iam/iampartialpolicy/resources/computedisk gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeDisk: [].spec: Invalid value: "sizeGb": spec.sizeGb in body is a forbidden property
125119
[schema_violation] file=iam/iampartialpolicy/resources/computeinstance gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeInstance: [].spec.networkInterface: Required value
126120
[schema_violation] file=iam/iampartialpolicy/resources/computeinstance gvk=compute.cnrm.cloud.google.com/v1beta1, Kind=ComputeInstance: []: Invalid value: "": "spec" must validate at least one schema (anyOf)

0 commit comments

Comments
 (0)