From 3e93324ee1c7b4d15fba9eb86f879008492e3065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ho=C3=9F?= Date: Fri, 27 Sep 2024 18:38:28 +0200 Subject: [PATCH] remove manually downloaded file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- code-generator/src/bin/lib_rs_generator.rs | 2 + .../v1/referencegrants.yaml | 202 ------------------ 2 files changed, 2 insertions(+), 202 deletions(-) delete mode 100644 crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/referencegrants.yaml diff --git a/code-generator/src/bin/lib_rs_generator.rs b/code-generator/src/bin/lib_rs_generator.rs index 1f07273e8..b13d46694 100644 --- a/code-generator/src/bin/lib_rs_generator.rs +++ b/code-generator/src/bin/lib_rs_generator.rs @@ -58,6 +58,8 @@ fn main() -> Result<()> { .entry(version.to_string()) .or_insert_with(Vec::new) .push(crd); + } else { + println!("missing {}/{} -> {}", group, version, crd.spec.names.plural) } } Err(e) => println!("{:?}", e), diff --git a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/referencegrants.yaml b/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/referencegrants.yaml deleted file mode 100644 index 2d28201d4..000000000 --- a/crd-catalog/kubernetes-sigs/gateway-api/gateway.networking.k8s.io/v1/referencegrants.yaml +++ /dev/null @@ -1,202 +0,0 @@ -apiVersion: "apiextensions.k8s.io/v1" -kind: "CustomResourceDefinition" -metadata: - annotations: - api-approved.kubernetes.io: "https://github.com/kubernetes-sigs/gateway-api/pull/2997" - gateway.networking.k8s.io/bundle-version: "v1.2.0-rc1" - gateway.networking.k8s.io/channel: "standard" - creationTimestamp: null - name: "referencegrants.gateway.networking.k8s.io" -spec: - group: "gateway.networking.k8s.io" - names: - categories: - - "gateway-api" - kind: "ReferenceGrant" - listKind: "ReferenceGrantList" - plural: "referencegrants" - shortNames: - - "refgrant" - singular: "referencegrant" - scope: "Namespaced" - versions: - - additionalPrinterColumns: - - jsonPath: ".metadata.creationTimestamp" - name: "Age" - type: "date" - deprecated: true - deprecationWarning: "The v1alpha2 version of ReferenceGrant has been deprecated and will be removed in a future release of the API. Please upgrade to v1beta1." - name: "v1alpha2" - schema: - openAPIV3Schema: - description: "ReferenceGrant identifies kinds of resources in other namespaces that are\ntrusted to reference the specified kinds of resources in the same namespace\nas the policy.\n\nEach ReferenceGrant can be used to represent a unique trust relationship.\nAdditional Reference Grants can be used to add to the set of trusted\nsources of inbound references for the namespace they are defined within.\n\nA ReferenceGrant is required for all cross-namespace references in Gateway API\n(with the exception of cross-namespace Route-Gateway attachment, which is\ngoverned by the AllowedRoutes configuration on the Gateway, and cross-namespace\nService ParentRefs on a \"consumer\" mesh Route, which defines routing rules\napplicable only to workloads in the Route namespace). ReferenceGrants allowing\na reference from a Route to a Service are only applicable to BackendRefs.\n\nReferenceGrant is a form of runtime verification allowing users to assert\nwhich cross-namespace object references are permitted. Implementations that\nsupport ReferenceGrant MUST NOT permit cross-namespace references which have\nno grant, and MUST respond to the removal of a grant by revoking the access\nthat the grant allowed." - properties: - apiVersion: - description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" - type: "string" - kind: - description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - type: "string" - metadata: - type: "object" - spec: - description: "Spec defines the desired state of ReferenceGrant." - properties: - from: - description: "From describes the trusted namespaces and kinds that can reference the\nresources described in \"To\". Each entry in this list MUST be considered\nto be an additional place that references can be valid from, or to put\nthis another way, entries MUST be combined using OR.\n\nSupport: Core" - items: - description: "ReferenceGrantFrom describes trusted namespaces and kinds." - properties: - group: - description: "Group is the group of the referent.\nWhen empty, the Kubernetes core API group is inferred.\n\nSupport: Core" - maxLength: 253 - pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - type: "string" - kind: - description: "Kind is the kind of the referent. Although implementations may support\nadditional resources, the following types are part of the \"Core\"\nsupport level for this field.\n\nWhen used to permit a SecretObjectReference:\n\n* Gateway\n\nWhen used to permit a BackendObjectReference:\n\n* GRPCRoute\n* HTTPRoute\n* TCPRoute\n* TLSRoute\n* UDPRoute" - maxLength: 63 - minLength: 1 - pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" - type: "string" - namespace: - description: "Namespace is the namespace of the referent.\n\nSupport: Core" - maxLength: 63 - minLength: 1 - pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" - type: "string" - required: - - "group" - - "kind" - - "namespace" - type: "object" - maxItems: 16 - minItems: 1 - type: "array" - to: - description: "To describes the resources that may be referenced by the resources\ndescribed in \"From\". Each entry in this list MUST be considered to be an\nadditional place that references can be valid to, or to put this another\nway, entries MUST be combined using OR.\n\nSupport: Core" - items: - description: "ReferenceGrantTo describes what Kinds are allowed as targets of the\nreferences." - properties: - group: - description: "Group is the group of the referent.\nWhen empty, the Kubernetes core API group is inferred.\n\nSupport: Core" - maxLength: 253 - pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - type: "string" - kind: - description: "Kind is the kind of the referent. Although implementations may support\nadditional resources, the following types are part of the \"Core\"\nsupport level for this field:\n\n* Secret when used to permit a SecretObjectReference\n* Service when used to permit a BackendObjectReference" - maxLength: 63 - minLength: 1 - pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" - type: "string" - name: - description: "Name is the name of the referent. When unspecified, this policy\nrefers to all resources of the specified Group and Kind in the local\nnamespace." - maxLength: 253 - minLength: 1 - type: "string" - required: - - "group" - - "kind" - type: "object" - maxItems: 16 - minItems: 1 - type: "array" - required: - - "from" - - "to" - type: "object" - type: "object" - served: false - storage: false - subresources: {} - - additionalPrinterColumns: - - jsonPath: ".metadata.creationTimestamp" - name: "Age" - type: "date" - name: "v1beta1" - schema: - openAPIV3Schema: - description: "ReferenceGrant identifies kinds of resources in other namespaces that are\ntrusted to reference the specified kinds of resources in the same namespace\nas the policy.\n\nEach ReferenceGrant can be used to represent a unique trust relationship.\nAdditional Reference Grants can be used to add to the set of trusted\nsources of inbound references for the namespace they are defined within.\n\nAll cross-namespace references in Gateway API (with the exception of cross-namespace\nGateway-route attachment) require a ReferenceGrant.\n\nReferenceGrant is a form of runtime verification allowing users to assert\nwhich cross-namespace object references are permitted. Implementations that\nsupport ReferenceGrant MUST NOT permit cross-namespace references which have\nno grant, and MUST respond to the removal of a grant by revoking the access\nthat the grant allowed." - properties: - apiVersion: - description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" - type: "string" - kind: - description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - type: "string" - metadata: - type: "object" - spec: - description: "Spec defines the desired state of ReferenceGrant." - properties: - from: - description: "From describes the trusted namespaces and kinds that can reference the\nresources described in \"To\". Each entry in this list MUST be considered\nto be an additional place that references can be valid from, or to put\nthis another way, entries MUST be combined using OR.\n\nSupport: Core" - items: - description: "ReferenceGrantFrom describes trusted namespaces and kinds." - properties: - group: - description: "Group is the group of the referent.\nWhen empty, the Kubernetes core API group is inferred.\n\nSupport: Core" - maxLength: 253 - pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - type: "string" - kind: - description: "Kind is the kind of the referent. Although implementations may support\nadditional resources, the following types are part of the \"Core\"\nsupport level for this field.\n\nWhen used to permit a SecretObjectReference:\n\n* Gateway\n\nWhen used to permit a BackendObjectReference:\n\n* GRPCRoute\n* HTTPRoute\n* TCPRoute\n* TLSRoute\n* UDPRoute" - maxLength: 63 - minLength: 1 - pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" - type: "string" - namespace: - description: "Namespace is the namespace of the referent.\n\nSupport: Core" - maxLength: 63 - minLength: 1 - pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" - type: "string" - required: - - "group" - - "kind" - - "namespace" - type: "object" - maxItems: 16 - minItems: 1 - type: "array" - to: - description: "To describes the resources that may be referenced by the resources\ndescribed in \"From\". Each entry in this list MUST be considered to be an\nadditional place that references can be valid to, or to put this another\nway, entries MUST be combined using OR.\n\nSupport: Core" - items: - description: "ReferenceGrantTo describes what Kinds are allowed as targets of the\nreferences." - properties: - group: - description: "Group is the group of the referent.\nWhen empty, the Kubernetes core API group is inferred.\n\nSupport: Core" - maxLength: 253 - pattern: "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - type: "string" - kind: - description: "Kind is the kind of the referent. Although implementations may support\nadditional resources, the following types are part of the \"Core\"\nsupport level for this field:\n\n* Secret when used to permit a SecretObjectReference\n* Service when used to permit a BackendObjectReference" - maxLength: 63 - minLength: 1 - pattern: "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" - type: "string" - name: - description: "Name is the name of the referent. When unspecified, this policy\nrefers to all resources of the specified Group and Kind in the local\nnamespace." - maxLength: 253 - minLength: 1 - type: "string" - required: - - "group" - - "kind" - type: "object" - maxItems: 16 - minItems: 1 - type: "array" - required: - - "from" - - "to" - type: "object" - type: "object" - served: true - storage: true - subresources: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: null - storedVersions: null