|
10 | 10 | kind: ApisixConsumer |
11 | 11 | listKind: ApisixConsumerList |
12 | 12 | plural: apisixconsumers |
| 13 | + shortNames: |
| 14 | + - ac |
13 | 15 | singular: apisixconsumer |
14 | 16 | scope: Namespaced |
15 | 17 | versions: |
@@ -355,6 +357,8 @@ spec: |
355 | 357 | kind: ApisixGlobalRule |
356 | 358 | listKind: ApisixGlobalRuleList |
357 | 359 | plural: apisixglobalrules |
| 360 | + shortNames: |
| 361 | + - agr |
358 | 362 | singular: apisixglobalrule |
359 | 363 | scope: Namespaced |
360 | 364 | versions: |
@@ -492,6 +496,8 @@ spec: |
492 | 496 | kind: ApisixPluginConfig |
493 | 497 | listKind: ApisixPluginConfigList |
494 | 498 | plural: apisixpluginconfigs |
| 499 | + shortNames: |
| 500 | + - apc |
495 | 501 | singular: apisixpluginconfig |
496 | 502 | scope: Namespaced |
497 | 503 | versions: |
@@ -630,10 +636,40 @@ spec: |
630 | 636 | kind: ApisixRoute |
631 | 637 | listKind: ApisixRouteList |
632 | 638 | plural: apisixroutes |
| 639 | + shortNames: |
| 640 | + - ar |
633 | 641 | singular: apisixroute |
634 | 642 | scope: Namespaced |
635 | 643 | versions: |
636 | | - - name: v2 |
| 644 | + - additionalPrinterColumns: |
| 645 | + - description: HTTP Hosts |
| 646 | + jsonPath: .spec.http[].match.hosts |
| 647 | + name: Hosts |
| 648 | + type: string |
| 649 | + - description: HTTP Paths |
| 650 | + jsonPath: .spec.http[].match.paths |
| 651 | + name: URIs |
| 652 | + type: string |
| 653 | + - description: Backend Service for HTTP |
| 654 | + jsonPath: .spec.http[].backends[].serviceName |
| 655 | + name: Target Service (HTTP) |
| 656 | + priority: 1 |
| 657 | + type: string |
| 658 | + - description: TCP Ingress Port |
| 659 | + jsonPath: .spec.tcp[].match.ingressPort |
| 660 | + name: Ingress Port (TCP) |
| 661 | + priority: 1 |
| 662 | + type: integer |
| 663 | + - description: Backend Service for TCP |
| 664 | + jsonPath: .spec.tcp[].match.backend.serviceName |
| 665 | + name: Target Service (TCP) |
| 666 | + priority: 1 |
| 667 | + type: string |
| 668 | + - description: Creation time |
| 669 | + jsonPath: .metadata.creationTimestamp |
| 670 | + name: Age |
| 671 | + type: date |
| 672 | + name: v2 |
637 | 673 | schema: |
638 | 674 | openAPIV3Schema: |
639 | 675 | description: ApisixRoute is the Schema for the apisixroutes API. |
@@ -1092,7 +1128,26 @@ spec: |
1092 | 1128 | singular: apisixtls |
1093 | 1129 | scope: Namespaced |
1094 | 1130 | versions: |
1095 | | - - name: v2 |
| 1131 | + - additionalPrinterColumns: |
| 1132 | + - jsonPath: .spec.hosts |
| 1133 | + name: SNIs |
| 1134 | + type: string |
| 1135 | + - jsonPath: .spec.secret.name |
| 1136 | + name: Secret Name |
| 1137 | + type: string |
| 1138 | + - jsonPath: .spec.secret.namespace |
| 1139 | + name: Secret Namespace |
| 1140 | + type: string |
| 1141 | + - jsonPath: .metadata.creationTimestamp |
| 1142 | + name: Age |
| 1143 | + type: date |
| 1144 | + - jsonPath: .spec.client.ca.name |
| 1145 | + name: Client CA Secret Name |
| 1146 | + type: string |
| 1147 | + - jsonPath: .spec.client.ca.namespace |
| 1148 | + name: Client CA Secret Namespace |
| 1149 | + type: string |
| 1150 | + name: v2 |
1096 | 1151 | schema: |
1097 | 1152 | openAPIV3Schema: |
1098 | 1153 | description: ApisixTls is the Schema for the apisixtls API. |
@@ -1251,6 +1306,8 @@ spec: |
1251 | 1306 | kind: ApisixUpstream |
1252 | 1307 | listKind: ApisixUpstreamList |
1253 | 1308 | plural: apisixupstreams |
| 1309 | + shortNames: |
| 1310 | + - au |
1254 | 1311 | singular: apisixupstream |
1255 | 1312 | scope: Namespaced |
1256 | 1313 | versions: |
@@ -1932,7 +1989,7 @@ spec: |
1932 | 1989 | When HashOn is `header` or `cookie`, specifies the name of the header or cookie. |
1933 | 1990 | When HashOn is `consumer`, key is not required, as the consumer name is used automatically. |
1934 | 1991 | When HashOn is `vars` or `vars_combinations`, key refers to one or a combination of |
1935 | | - [built-in variables](/enterprise/reference/built-in-variables). |
| 1992 | + [APISIX variable](https://apisix.apache.org/docs/apisix/apisix-variable/). |
1936 | 1993 | type: string |
1937 | 1994 | type: |
1938 | 1995 | default: roundrobin |
@@ -2700,8 +2757,9 @@ spec: |
2700 | 2757 | type: boolean |
2701 | 2758 | required: |
2702 | 2759 | - auth |
2703 | | - - endpoints |
2704 | 2760 | type: object |
| 2761 | + x-kubernetes-validations: |
| 2762 | + - rule: has(self.endpoints) != has(self.service) |
2705 | 2763 | type: |
2706 | 2764 | description: Type specifies the type of provider. Can only be |
2707 | 2765 | `ControlPlane`. |
|
0 commit comments