Skip to content

Commit 89439a6

Browse files
committed
add yaml
1 parent bf2895a commit 89439a6

7 files changed

+2323
-0
lines changed

config/crd-nocel/apisix.apache.org_apisixconsumers.yaml

Lines changed: 375 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.17.2
7+
name: apisixglobalrules.apisix.apache.org
8+
spec:
9+
group: apisix.apache.org
10+
names:
11+
kind: ApisixGlobalRule
12+
listKind: ApisixGlobalRuleList
13+
plural: apisixglobalrules
14+
shortNames:
15+
- agr
16+
singular: apisixglobalrule
17+
scope: Namespaced
18+
versions:
19+
- name: v2
20+
schema:
21+
openAPIV3Schema:
22+
description: ApisixGlobalRule defines configuration for global plugins.
23+
properties:
24+
apiVersion:
25+
description: |-
26+
APIVersion defines the versioned schema of this representation of an object.
27+
Servers should convert recognized schemas to the latest internal value, and
28+
may reject unrecognized values.
29+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
30+
type: string
31+
kind:
32+
description: |-
33+
Kind is a string value representing the REST resource this object represents.
34+
Servers may infer this from the endpoint the client submits requests to.
35+
Cannot be updated.
36+
In CamelCase.
37+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38+
type: string
39+
metadata:
40+
type: object
41+
spec:
42+
description: ApisixGlobalRuleSpec defines the global plugin configuration.
43+
properties:
44+
ingressClassName:
45+
description: |-
46+
IngressClassName is the name of an IngressClass cluster resource.
47+
The controller uses this field to decide whether the resource should be managed.
48+
type: string
49+
plugins:
50+
description: Plugins contain a list of global plugins.
51+
items:
52+
description: ApisixRoutePlugin represents an APISIX plugin.
53+
properties:
54+
config:
55+
description: Plugin configuration.
56+
x-kubernetes-preserve-unknown-fields: true
57+
enable:
58+
default: true
59+
description: Whether this plugin is in use, default is true.
60+
type: boolean
61+
name:
62+
description: The plugin name.
63+
type: string
64+
secretRef:
65+
description: Plugin configuration secretRef.
66+
type: string
67+
required:
68+
- enable
69+
- name
70+
type: object
71+
type: array
72+
required:
73+
- plugins
74+
type: object
75+
status:
76+
description: ApisixStatus is the status report for Apisix ingress Resources
77+
properties:
78+
conditions:
79+
items:
80+
description: Condition contains details for one aspect of the current
81+
state of this API Resource.
82+
properties:
83+
lastTransitionTime:
84+
description: |-
85+
lastTransitionTime is the last time the condition transitioned from one status to another.
86+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
87+
format: date-time
88+
type: string
89+
message:
90+
description: |-
91+
message is a human readable message indicating details about the transition.
92+
This may be an empty string.
93+
maxLength: 32768
94+
type: string
95+
observedGeneration:
96+
description: |-
97+
observedGeneration represents the .metadata.generation that the condition was set based upon.
98+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
99+
with respect to the current state of the instance.
100+
format: int64
101+
minimum: 0
102+
type: integer
103+
reason:
104+
description: |-
105+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
106+
Producers of specific condition types may define expected values and meanings for this field,
107+
and whether the values are considered a guaranteed API.
108+
The value should be a CamelCase string.
109+
This field may not be empty.
110+
maxLength: 1024
111+
minLength: 1
112+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
113+
type: string
114+
status:
115+
description: status of the condition, one of True, False, Unknown.
116+
enum:
117+
- "True"
118+
- "False"
119+
- Unknown
120+
type: string
121+
type:
122+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
123+
maxLength: 316
124+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
125+
type: string
126+
required:
127+
- lastTransitionTime
128+
- message
129+
- reason
130+
- status
131+
- type
132+
type: object
133+
type: array
134+
type: object
135+
type: object
136+
served: true
137+
storage: true
138+
subresources:
139+
status: {}
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.17.2
7+
name: apisixpluginconfigs.apisix.apache.org
8+
spec:
9+
group: apisix.apache.org
10+
names:
11+
kind: ApisixPluginConfig
12+
listKind: ApisixPluginConfigList
13+
plural: apisixpluginconfigs
14+
shortNames:
15+
- apc
16+
singular: apisixpluginconfig
17+
scope: Namespaced
18+
versions:
19+
- name: v2
20+
schema:
21+
openAPIV3Schema:
22+
description: ApisixPluginConfig defines a reusable set of plugin configuration
23+
that can be referenced by routes.
24+
properties:
25+
apiVersion:
26+
description: |-
27+
APIVersion defines the versioned schema of this representation of an object.
28+
Servers should convert recognized schemas to the latest internal value, and
29+
may reject unrecognized values.
30+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
31+
type: string
32+
kind:
33+
description: |-
34+
Kind is a string value representing the REST resource this object represents.
35+
Servers may infer this from the endpoint the client submits requests to.
36+
Cannot be updated.
37+
In CamelCase.
38+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
39+
type: string
40+
metadata:
41+
type: object
42+
spec:
43+
description: ApisixPluginConfigSpec defines the plugin config configuration.
44+
properties:
45+
ingressClassName:
46+
description: |-
47+
IngressClassName is the name of an IngressClass cluster resource.
48+
The controller uses this field to decide whether the resource should be managed.
49+
type: string
50+
plugins:
51+
description: Plugins contain a list of plugins.
52+
items:
53+
description: ApisixRoutePlugin represents an APISIX plugin.
54+
properties:
55+
config:
56+
description: Plugin configuration.
57+
x-kubernetes-preserve-unknown-fields: true
58+
enable:
59+
default: true
60+
description: Whether this plugin is in use, default is true.
61+
type: boolean
62+
name:
63+
description: The plugin name.
64+
type: string
65+
secretRef:
66+
description: Plugin configuration secretRef.
67+
type: string
68+
required:
69+
- enable
70+
- name
71+
type: object
72+
type: array
73+
required:
74+
- plugins
75+
type: object
76+
status:
77+
description: ApisixStatus is the status report for Apisix ingress Resources
78+
properties:
79+
conditions:
80+
items:
81+
description: Condition contains details for one aspect of the current
82+
state of this API Resource.
83+
properties:
84+
lastTransitionTime:
85+
description: |-
86+
lastTransitionTime is the last time the condition transitioned from one status to another.
87+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
88+
format: date-time
89+
type: string
90+
message:
91+
description: |-
92+
message is a human readable message indicating details about the transition.
93+
This may be an empty string.
94+
maxLength: 32768
95+
type: string
96+
observedGeneration:
97+
description: |-
98+
observedGeneration represents the .metadata.generation that the condition was set based upon.
99+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
100+
with respect to the current state of the instance.
101+
format: int64
102+
minimum: 0
103+
type: integer
104+
reason:
105+
description: |-
106+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
107+
Producers of specific condition types may define expected values and meanings for this field,
108+
and whether the values are considered a guaranteed API.
109+
The value should be a CamelCase string.
110+
This field may not be empty.
111+
maxLength: 1024
112+
minLength: 1
113+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
114+
type: string
115+
status:
116+
description: status of the condition, one of True, False, Unknown.
117+
enum:
118+
- "True"
119+
- "False"
120+
- Unknown
121+
type: string
122+
type:
123+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
124+
maxLength: 316
125+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
126+
type: string
127+
required:
128+
- lastTransitionTime
129+
- message
130+
- reason
131+
- status
132+
- type
133+
type: object
134+
type: array
135+
type: object
136+
type: object
137+
served: true
138+
storage: true
139+
subresources:
140+
status: {}

0 commit comments

Comments
 (0)