Add namespace scoped ParametersReference to IngressClass

This commit is contained in:
Harry Bagdi
2021-03-06 03:03:20 +05:30
parent a954818194
commit a7fc92089a
44 changed files with 2535 additions and 225 deletions

View File

@@ -12337,6 +12337,36 @@
}
]
},
"io.k8s.api.networking.v1.IngressClassParametersReference": {
"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"
},
"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"
},
"scope": {
"description": "Scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\". Field can be enabled with IngressClassNamespacedParams feature gate.",
"type": "string"
}
},
"required": [
"kind",
"name"
],
"type": "object"
},
"io.k8s.api.networking.v1.IngressClassSpec": {
"description": "IngressClassSpec provides information about the class of an Ingress.",
"properties": {
@@ -12345,7 +12375,7 @@
"type": "string"
},
"parameters": {
"$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference",
"$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassParametersReference",
"description": "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."
}
},
@@ -12816,6 +12846,36 @@
}
]
},
"io.k8s.api.networking.v1beta1.IngressClassParametersReference": {
"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"
},
"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"
},
"scope": {
"description": "Scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\". Field can be enabled with IngressClassNamespacedParams feature gate.",
"type": "string"
}
},
"required": [
"kind",
"name"
],
"type": "object"
},
"io.k8s.api.networking.v1beta1.IngressClassSpec": {
"description": "IngressClassSpec provides information about the class of an Ingress.",
"properties": {
@@ -12824,7 +12884,7 @@
"type": "string"
},
"parameters": {
"$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference",
"$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClassParametersReference",
"description": "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."
}
},