From 9edc3215e0e3421b51fba3c1f78d69ddcdd7adc2 Mon Sep 17 00:00:00 2001 From: John Howard Date: Thu, 9 May 2024 15:58:08 -0700 Subject: [PATCH] Allow defining CRDs from a single version Part of https://github.com/istio/api/issues/3127. Goes with a corresponding tools change; this will fail until that merges. This just shows DR. The tool will support both the new and old way (we can remove the old way if we want), so we don't have to move everything at once. We will, though. I kept it to one so its easy to review first. (cherry picked from commit 0ea8ea9143500c11efe326bdc50afb64dd46059f) --- extensions/v1alpha1/wasm.pb.go | 2 +- extensions/v1alpha1/wasm.proto | 2 +- kubernetes/customresourcedefinitions.gen.yaml | 12 ++++------- networking/v1/destination_rule.pb.go | 16 -------------- networking/v1/destination_rule.proto | 15 ------------- networking/v1/gateway.pb.go | 11 ---------- networking/v1/gateway.proto | 11 ---------- networking/v1/service_entry.pb.go | 20 ------------------ networking/v1/service_entry.proto | 20 ------------------ networking/v1/sidecar.pb.go | 11 ---------- networking/v1/sidecar.proto | 11 ---------- networking/v1/virtual_service.pb.go | 18 ---------------- networking/v1/virtual_service.proto | 18 ---------------- networking/v1/workload_entry.pb.go | 16 -------------- networking/v1/workload_entry.proto | 16 -------------- networking/v1/workload_group.pb.go | 14 ------------- networking/v1/workload_group.proto | 14 ------------- networking/v1alpha3/destination_rule.pb.go | 2 +- networking/v1alpha3/destination_rule.proto | 2 +- networking/v1alpha3/envoy_filter.pb.go | 2 +- networking/v1alpha3/envoy_filter.proto | 2 +- networking/v1alpha3/gateway.pb.go | 2 +- networking/v1alpha3/gateway.proto | 2 +- networking/v1alpha3/service_entry.pb.go | 2 +- networking/v1alpha3/service_entry.proto | 2 +- networking/v1alpha3/sidecar.pb.go | 2 +- networking/v1alpha3/sidecar.proto | 2 +- networking/v1alpha3/virtual_service.pb.go | 2 +- networking/v1alpha3/virtual_service.proto | 2 +- networking/v1alpha3/workload_entry.pb.go | 2 +- networking/v1alpha3/workload_entry.proto | 2 +- networking/v1alpha3/workload_group.pb.go | 2 +- networking/v1alpha3/workload_group.proto | 2 +- networking/v1beta1/destination_rule.pb.go | 17 --------------- networking/v1beta1/destination_rule.proto | 17 --------------- networking/v1beta1/gateway.pb.go | 12 ----------- networking/v1beta1/gateway.proto | 12 ----------- networking/v1beta1/proxy_config.pb.go | 2 +- networking/v1beta1/proxy_config.proto | 2 +- networking/v1beta1/service_entry.pb.go | 21 ------------------- networking/v1beta1/service_entry.proto | 21 ------------------- networking/v1beta1/sidecar.pb.go | 12 ----------- networking/v1beta1/sidecar.proto | 12 ----------- networking/v1beta1/virtual_service.pb.go | 19 ----------------- networking/v1beta1/virtual_service.proto | 19 ----------------- networking/v1beta1/workload_entry.pb.go | 17 --------------- networking/v1beta1/workload_entry.proto | 17 --------------- networking/v1beta1/workload_group.pb.go | 15 ------------- networking/v1beta1/workload_group.proto | 15 ------------- security/v1/authorization_policy.pb.go | 16 -------------- security/v1/authorization_policy.proto | 16 -------------- security/v1/peer_authentication.pb.go | 16 -------------- security/v1/peer_authentication.proto | 16 -------------- security/v1/request_authentication.pb.go | 11 ---------- security/v1/request_authentication.proto | 11 ---------- security/v1beta1/authorization_policy.pb.go | 2 +- security/v1beta1/authorization_policy.proto | 2 +- security/v1beta1/peer_authentication.pb.go | 2 +- security/v1beta1/peer_authentication.proto | 2 +- security/v1beta1/request_authentication.pb.go | 2 +- security/v1beta1/request_authentication.proto | 2 +- telemetry/v1/telemetry.pb.go | 17 --------------- telemetry/v1/telemetry.proto | 17 --------------- telemetry/v1alpha1/telemetry.pb.go | 2 +- telemetry/v1alpha1/telemetry.proto | 2 +- 65 files changed, 32 insertions(+), 593 deletions(-) diff --git a/extensions/v1alpha1/wasm.pb.go b/extensions/v1alpha1/wasm.pb.go index a8131508fcb..15976e6c7f1 100644 --- a/extensions/v1alpha1/wasm.pb.go +++ b/extensions/v1alpha1/wasm.pb.go @@ -517,7 +517,7 @@ func (FailStrategy) EnumDescriptor() ([]byte, []int) { // // -// // // // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// // -// //