You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundle/manifests/limitador.kuadrant.io_limitadors.yaml
+10-116
Original file line number
Diff line number
Diff line change
@@ -1027,133 +1027,27 @@ spec:
1027
1027
redis:
1028
1028
properties:
1029
1029
configSecretRef:
1030
-
description: "ObjectReference contains enough information
1031
-
to let you inspect or modify the referred object. --- New
1032
-
uses of this type are discouraged because of difficulty
1033
-
describing its usage when embedded in APIs. 1. Ignored fields.
1034
-
\ It includes many fields which are not generally honored.
1035
-
\ For instance, ResourceVersion and FieldPath are both very
1036
-
rarely valid in actual usage. 2. Invalid usage help. It
1037
-
is impossible to add specific help for individual usage.
1038
-
\ In most embedded usages, there are particular restrictions
1039
-
like, \"must refer only to types A and B\" or \"UID not
1040
-
honored\" or \"name must be restricted\". Those cannot be
1041
-
well described when embedded. 3. Inconsistent validation.
1042
-
\ Because the usages are different, the validation rules
1043
-
are different by usage, which makes it hard for users to
1044
-
predict what will happen. 4. The fields are both imprecise
1045
-
and overly precise. Kind is not a precise mapping to a
1046
-
URL. This can produce ambiguity during interpretation and
1047
-
require a REST mapping. In most cases, the dependency is
1048
-
on the group,resource tuple and the version of the actual
1049
-
struct is irrelevant. 5. We cannot easily change it. Because
1050
-
this type is embedded in many locations, updates to this
1051
-
type will affect numerous schemas. Don't make new APIs
1052
-
embed an underspecified API type they do not control. \n
1053
-
Instead of using this type, create a locally provided and
1054
-
used type that is well-focused on your reference. For example,
1055
-
ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
1056
-
."
1030
+
description: LocalObjectReference contains enough information
1031
+
to let you locate the referenced object inside the same
1032
+
namespace.
1057
1033
properties:
1058
-
apiVersion:
1059
-
description: API version of the referent.
1060
-
type: string
1061
-
fieldPath:
1062
-
description: 'If referring to a piece of an object instead
1063
-
of an entire object, this string should contain a valid
1064
-
JSON/Go field access statement, such as desiredState.manifest.containers[2].
1065
-
For example, if the object reference is to a container
1066
-
within a pod, this would take on a value like: "spec.containers{name}"
1067
-
(where "name" refers to the name of the container that
1068
-
triggered the event) or if no container name is specified
1069
-
"spec.containers[2]" (container with index 2 in this
1070
-
pod). This syntax is chosen only to have some well-defined
1071
-
way of referencing a part of an object. TODO: this design
1072
-
is not final and this field is subject to change in
1073
-
the future.'
1074
-
type: string
1075
-
kind:
1076
-
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
1077
-
type: string
1078
1034
name:
1079
-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
1080
-
type: string
1081
-
namespace:
1082
-
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
1083
-
type: string
1084
-
resourceVersion:
1085
-
description: 'Specific resourceVersion to which this reference
1086
-
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
1087
-
type: string
1088
-
uid:
1089
-
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
1035
+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1036
+
TODO: Add other useful fields. apiVersion, kind, uid?'
1090
1037
type: string
1091
1038
type: object
1092
1039
x-kubernetes-map-type: atomic
1093
1040
type: object
1094
1041
redis-cached:
1095
1042
properties:
1096
1043
configSecretRef:
1097
-
description: "ObjectReference contains enough information
1098
-
to let you inspect or modify the referred object. --- New
1099
-
uses of this type are discouraged because of difficulty
1100
-
describing its usage when embedded in APIs. 1. Ignored fields.
1101
-
\ It includes many fields which are not generally honored.
1102
-
\ For instance, ResourceVersion and FieldPath are both very
1103
-
rarely valid in actual usage. 2. Invalid usage help. It
1104
-
is impossible to add specific help for individual usage.
1105
-
\ In most embedded usages, there are particular restrictions
1106
-
like, \"must refer only to types A and B\" or \"UID not
1107
-
honored\" or \"name must be restricted\". Those cannot be
1108
-
well described when embedded. 3. Inconsistent validation.
1109
-
\ Because the usages are different, the validation rules
1110
-
are different by usage, which makes it hard for users to
1111
-
predict what will happen. 4. The fields are both imprecise
1112
-
and overly precise. Kind is not a precise mapping to a
1113
-
URL. This can produce ambiguity during interpretation and
1114
-
require a REST mapping. In most cases, the dependency is
1115
-
on the group,resource tuple and the version of the actual
1116
-
struct is irrelevant. 5. We cannot easily change it. Because
1117
-
this type is embedded in many locations, updates to this
1118
-
type will affect numerous schemas. Don't make new APIs
1119
-
embed an underspecified API type they do not control. \n
1120
-
Instead of using this type, create a locally provided and
1121
-
used type that is well-focused on your reference. For example,
1122
-
ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
1123
-
."
1044
+
description: LocalObjectReference contains enough information
1045
+
to let you locate the referenced object inside the same
1046
+
namespace.
1124
1047
properties:
1125
-
apiVersion:
1126
-
description: API version of the referent.
1127
-
type: string
1128
-
fieldPath:
1129
-
description: 'If referring to a piece of an object instead
1130
-
of an entire object, this string should contain a valid
1131
-
JSON/Go field access statement, such as desiredState.manifest.containers[2].
1132
-
For example, if the object reference is to a container
1133
-
within a pod, this would take on a value like: "spec.containers{name}"
1134
-
(where "name" refers to the name of the container that
1135
-
triggered the event) or if no container name is specified
1136
-
"spec.containers[2]" (container with index 2 in this
1137
-
pod). This syntax is chosen only to have some well-defined
1138
-
way of referencing a part of an object. TODO: this design
1139
-
is not final and this field is subject to change in
1140
-
the future.'
1141
-
type: string
1142
-
kind:
1143
-
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
1144
-
type: string
1145
1048
name:
1146
-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
1147
-
type: string
1148
-
namespace:
1149
-
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
1150
-
type: string
1151
-
resourceVersion:
1152
-
description: 'Specific resourceVersion to which this reference
1153
-
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
1154
-
type: string
1155
-
uid:
1156
-
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
1049
+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1050
+
TODO: Add other useful fields. apiVersion, kind, uid?'
0 commit comments