Skip to content

Commit

Permalink
Update several CRD (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaronator authored Feb 2, 2025
1 parent 2dcd060 commit a90ba5d
Show file tree
Hide file tree
Showing 41 changed files with 6,116 additions and 399 deletions.
64 changes: 54 additions & 10 deletions elbv2.k8s.aws/ingressclassparams_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"description": "IngressClassParams is the Schema for the IngressClassParams API",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"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. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"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": {
Expand Down Expand Up @@ -52,6 +52,48 @@
],
"type": "string"
},
"listeners": {
"description": "Listeners define a list of listeners with their protocol, port and attributes.",
"items": {
"properties": {
"listenerAttributes": {
"description": "The attributes of the listener",
"items": {
"description": "Attributes defines custom attributes on resources.",
"properties": {
"key": {
"description": "The key of the attribute.",
"type": "string"
},
"value": {
"description": "The value of the attribute.",
"type": "string"
}
},
"required": [
"key",
"value"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"port": {
"description": "The port of the listener",
"format": "int32",
"type": "integer"
},
"protocol": {
"description": "The protocol of the listener",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"loadBalancerAttributes": {
"description": "LoadBalancerAttributes define the custom attributes to LoadBalancers for all Ingress that that belong to IngressClass with this IngressClassParams.",
"items": {
Expand All @@ -76,27 +118,28 @@
"type": "array"
},
"namespaceSelector": {
"description": "NamespaceSelector restrict the namespaces of Ingresses that are allowed to specify the IngressClass with this IngressClassParams. * if absent or present but empty, it selects all namespaces.",
"description": "NamespaceSelector restrict the namespaces of Ingresses that are allowed to specify the IngressClass with this IngressClassParams.\n* if absent or present but empty, it selects all namespaces.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
"items": {
"type": "string"
},
"type": "array"
"type": "array",
"x-kubernetes-list-type": "atomic"
}
},
"required": [
Expand All @@ -106,13 +149,14 @@
"type": "object",
"additionalProperties": false
},
"type": "array"
"type": "array",
"x-kubernetes-list-type": "atomic"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object"
}
},
Expand Down Expand Up @@ -152,7 +196,7 @@
},
"type": "array"
},
"description": "Tags specifies subnets in the load balancer's VPC where each tag specified in the map key contains one of the values in the corresponding value list. Exactly one of this or `ids` must be specified.",
"description": "Tags specifies subnets in the load balancer's VPC where each\ntag specified in the map key contains one of the values in the corresponding\nvalue list.\nExactly one of this or `ids` must be specified.",
"type": "object"
}
},
Expand Down
22 changes: 13 additions & 9 deletions elbv2.k8s.aws/targetgroupbinding_v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"description": "TargetGroupBinding is the Schema for the TargetGroupBinding API",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"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. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"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": {
Expand All @@ -15,6 +15,10 @@
"spec": {
"description": "TargetGroupBindingSpec defines the desired state of TargetGroupBinding",
"properties": {
"multiClusterTargetGroup": {
"description": "MultiClusterTargetGroup Denotes if the TargetGroup is shared among multiple clusters",
"type": "boolean"
},
"networking": {
"description": "networking provides the networking setup for ELBV2 LoadBalancer to access targets in TargetGroup.",
"properties": {
Expand All @@ -23,15 +27,15 @@
"items": {
"properties": {
"from": {
"description": "List of peers which should be able to access the targets in TargetGroup. At least one NetworkingPeer should be specified.",
"description": "List of peers which should be able to access the targets in TargetGroup.\nAt least one NetworkingPeer should be specified.",
"items": {
"description": "NetworkingPeer defines the source/destination peer for networking rules.",
"properties": {
"ipBlock": {
"description": "IPBlock defines an IPBlock peer. If specified, none of the other fields can be set.",
"description": "IPBlock defines an IPBlock peer.\nIf specified, none of the other fields can be set.",
"properties": {
"cidr": {
"description": "CIDR is the network CIDR. Both IPV4 or IPV6 CIDR are accepted.",
"description": "CIDR is the network CIDR.\nBoth IPV4 or IPV6 CIDR are accepted.",
"type": "string"
}
},
Expand All @@ -42,7 +46,7 @@
"additionalProperties": false
},
"securityGroup": {
"description": "SecurityGroup defines a SecurityGroup peer. If specified, none of the other fields can be set.",
"description": "SecurityGroup defines a SecurityGroup peer.\nIf specified, none of the other fields can be set.",
"properties": {
"groupID": {
"description": "GroupID is the EC2 SecurityGroupID.",
Expand All @@ -62,7 +66,7 @@
"type": "array"
},
"ports": {
"description": "List of ports which should be made accessible on the targets in TargetGroup. If ports is empty or unspecified, it defaults to all ports with TCP.",
"description": "List of ports which should be made accessible on the targets in TargetGroup.\nIf ports is empty or unspecified, it defaults to all ports with TCP.",
"items": {
"properties": {
"port": {
Expand All @@ -74,11 +78,11 @@
"type": "string"
}
],
"description": "The port which traffic must match. When NodePort endpoints(instance TargetType) is used, this must be a numerical port. When Port endpoints(ip TargetType) is used, this can be either numerical or named port on pods. if port is unspecified, it defaults to all ports.",
"description": "The port which traffic must match.\nWhen NodePort endpoints(instance TargetType) is used, this must be a numerical port.\nWhen Port endpoints(ip TargetType) is used, this can be either numerical or named port on pods.\nif port is unspecified, it defaults to all ports.",
"x-kubernetes-int-or-string": true
},
"protocol": {
"description": "The protocol which traffic must match. If protocol is unspecified, it defaults to TCP.",
"description": "The protocol which traffic must match.\nIf protocol is unspecified, it defaults to TCP.",
"enum": [
"TCP",
"UDP"
Expand Down
Loading

0 comments on commit a90ba5d

Please sign in to comment.