forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathingressclassspec-networking-v1.json
58 lines (58 loc) · 2.19 KB
/
ingressclassspec-networking-v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"description": "IngressClassSpec provides information about the class of an Ingress.",
"properties": {
"controller": {
"description": "Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.",
"type": [
"string",
"null"
]
},
"parameters": {
"description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.",
"properties": {
"apiGroup": {
"description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
"type": [
"string",
"null"
]
},
"kind": {
"description": "Kind is the type of resource being referenced.",
"type": "string"
},
"name": {
"description": "Name is the name of resource being referenced.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".",
"type": [
"string",
"null"
]
},
"scope": {
"description": "Scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".",
"type": [
"string",
"null"
]
}
},
"required": [
"kind",
"name"
],
"type": [
"object",
"null"
],
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false,
"$schema": "http://json-schema.org/schema#"
}