mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
testdata: drop the alpha EphemeralVolumeSource.ReadOnly field
This is the result of UPDATE_COMPATIBILITY_FIXTURE_DATA=true go test k8s.io/api after removing the ReadOnly field from the API. The test data for older releases must be updated because the current code no longer supports that field. The removal itself is okay because the struct was declared as alpha. Because EphemeralVolumeSource is embedded quite a lot, different types are affected. Here is one example: --- FAIL: TestCompatibility/extensions.v1beta1.DaemonSet/v1.20.0 (0.04s) compatibility.go:476: json differs compatibility.go:477: string{ ... // 12941 identical bytes 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, // | }| 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, // |. }| - 0x2c, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, // -|,. | - 0x22, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, // -|"readOnly": true| 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, 0x0a, 0x20, // |. }. | 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, // | }. | ... // 31426 identical bytes } compatibility.go:482: yaml differs compatibility.go:483: string{ ... // 22893 identical bytes 0x34, 0x22, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x65, 0x70, 0x68, 0x65, 0x6d, // |4". ephem| 0x65, 0x72, 0x61, 0x6c, 0x3a, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, // |eral:. | - 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, 0x0a, 0x20, // -|readOnly: true. | - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, // -| | 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6c, // |volumeClaimTempl| 0x61, 0x74, 0x65, 0x3a, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, // |ate:. | ... // 5965 identical bytes } compatibility.go:488: proto differs compatibility.go:490: ( """ ... // 459 identical lines } } - 2: 1 } } ... // 1083 identical lines """ ) compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
This commit is contained in:
parent
52b758c9b6
commit
25f4174148
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/HEAD/batch.v1.Job.pb
vendored
BIN
staging/src/k8s.io/api/testdata/HEAD/batch.v1.Job.pb
vendored
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb
vendored
BIN
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb
vendored
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
1496
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.DaemonSet.after_roundtrip.json
vendored
Normal file
1496
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.DaemonSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.DaemonSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.DaemonSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1023
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.DaemonSet.after_roundtrip.yaml
vendored
Normal file
1023
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.DaemonSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1499
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.Deployment.after_roundtrip.json
vendored
Normal file
1499
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.Deployment.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.Deployment.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.Deployment.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1027
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.Deployment.after_roundtrip.yaml
vendored
Normal file
1027
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.Deployment.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1489
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.ReplicaSet.after_roundtrip.json
vendored
Normal file
1489
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.ReplicaSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.ReplicaSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.ReplicaSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1016
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.ReplicaSet.after_roundtrip.yaml
vendored
Normal file
1016
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.ReplicaSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1595
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.StatefulSet.after_roundtrip.json
vendored
Normal file
1595
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.StatefulSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.StatefulSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.StatefulSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1093
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.StatefulSet.after_roundtrip.yaml
vendored
Normal file
1093
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1.StatefulSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1502
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.Deployment.after_roundtrip.json
vendored
Normal file
1502
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.Deployment.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.Deployment.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.Deployment.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1029
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.Deployment.after_roundtrip.yaml
vendored
Normal file
1029
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.Deployment.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1595
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.StatefulSet.after_roundtrip.json
vendored
Normal file
1595
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.StatefulSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.StatefulSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.StatefulSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1093
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.StatefulSet.after_roundtrip.yaml
vendored
Normal file
1093
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta1.StatefulSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1496
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.DaemonSet.after_roundtrip.json
vendored
Normal file
1496
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.DaemonSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.DaemonSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.DaemonSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1023
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.DaemonSet.after_roundtrip.yaml
vendored
Normal file
1023
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.DaemonSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1499
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.Deployment.after_roundtrip.json
vendored
Normal file
1499
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.Deployment.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.Deployment.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.Deployment.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1027
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.Deployment.after_roundtrip.yaml
vendored
Normal file
1027
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.Deployment.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1489
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.ReplicaSet.after_roundtrip.json
vendored
Normal file
1489
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.ReplicaSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.ReplicaSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.ReplicaSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1016
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.ReplicaSet.after_roundtrip.yaml
vendored
Normal file
1016
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.ReplicaSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1595
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.StatefulSet.after_roundtrip.json
vendored
Normal file
1595
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.StatefulSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.StatefulSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.StatefulSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1093
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.StatefulSet.after_roundtrip.yaml
vendored
Normal file
1093
staging/src/k8s.io/api/testdata/v1.19.0/apps.v1beta2.StatefulSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
1543
staging/src/k8s.io/api/testdata/v1.19.0/batch.v1beta1.CronJob.after_roundtrip.json
vendored
Normal file
1543
staging/src/k8s.io/api/testdata/v1.19.0/batch.v1beta1.CronJob.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
1058
staging/src/k8s.io/api/testdata/v1.19.0/batch.v1beta1.CronJob.after_roundtrip.yaml
vendored
Normal file
1058
staging/src/k8s.io/api/testdata/v1.19.0/batch.v1beta1.CronJob.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1523
staging/src/k8s.io/api/testdata/v1.19.0/batch.v1beta1.JobTemplate.after_roundtrip.json
vendored
Normal file
1523
staging/src/k8s.io/api/testdata/v1.19.0/batch.v1beta1.JobTemplate.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
1044
staging/src/k8s.io/api/testdata/v1.19.0/batch.v1beta1.JobTemplate.after_roundtrip.yaml
vendored
Normal file
1044
staging/src/k8s.io/api/testdata/v1.19.0/batch.v1beta1.JobTemplate.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.19.0/core.v1.Pod.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/core.v1.Pod.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
BIN
staging/src/k8s.io/api/testdata/v1.19.0/core.v1.PodTemplate.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/core.v1.PodTemplate.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
BIN
staging/src/k8s.io/api/testdata/v1.19.0/core.v1.ReplicationController.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.19.0/core.v1.ReplicationController.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user