|
43 | 43 | description: Rule defines a rule for node customization such as
|
44 | 44 | labeling.
|
45 | 45 | properties:
|
| 46 | + annotations: |
| 47 | + additionalProperties: |
| 48 | + type: string |
| 49 | + description: Annotations to create if the rule matches. |
| 50 | + type: object |
| 51 | + extendedResources: |
| 52 | + additionalProperties: |
| 53 | + type: string |
| 54 | + description: ExtendedResources to create if the rule matches. |
| 55 | + type: object |
46 | 56 | labels:
|
47 | 57 | additionalProperties:
|
48 | 58 | type: string
|
@@ -118,6 +128,38 @@ spec:
|
118 | 128 | MatchExpressions, each of which is evaluated against
|
119 | 129 | a set of input values.
|
120 | 130 | type: object
|
| 131 | + matchName: |
| 132 | + description: |- |
| 133 | + MatchName in an expression that is matched against the name of each |
| 134 | + element in the feature set. |
| 135 | + properties: |
| 136 | + op: |
| 137 | + description: Op is the operator to be applied. |
| 138 | + enum: |
| 139 | + - In |
| 140 | + - NotIn |
| 141 | + - InRegexp |
| 142 | + - Exists |
| 143 | + - DoesNotExist |
| 144 | + - Gt |
| 145 | + - Lt |
| 146 | + - GtLt |
| 147 | + - IsTrue |
| 148 | + - IsFalse |
| 149 | + type: string |
| 150 | + value: |
| 151 | + description: |- |
| 152 | + Value is the list of values that the operand evaluates the input |
| 153 | + against. Value should be empty if the operator is Exists, DoesNotExist, |
| 154 | + IsTrue or IsFalse. Value should contain exactly one element if the |
| 155 | + operator is Gt or Lt and exactly two elements if the operator is GtLt. |
| 156 | + In other cases Value should contain at least one element. |
| 157 | + items: |
| 158 | + type: string |
| 159 | + type: array |
| 160 | + required: |
| 161 | + - op |
| 162 | + type: object |
121 | 163 | required:
|
122 | 164 | - feature
|
123 | 165 | - matchExpressions
|
@@ -180,6 +222,38 @@ spec:
|
180 | 222 | description: MatchExpressionSet contains a set of MatchExpressions,
|
181 | 223 | each of which is evaluated against a set of input values.
|
182 | 224 | type: object
|
| 225 | + matchName: |
| 226 | + description: |- |
| 227 | + MatchName in an expression that is matched against the name of each |
| 228 | + element in the feature set. |
| 229 | + properties: |
| 230 | + op: |
| 231 | + description: Op is the operator to be applied. |
| 232 | + enum: |
| 233 | + - In |
| 234 | + - NotIn |
| 235 | + - InRegexp |
| 236 | + - Exists |
| 237 | + - DoesNotExist |
| 238 | + - Gt |
| 239 | + - Lt |
| 240 | + - GtLt |
| 241 | + - IsTrue |
| 242 | + - IsFalse |
| 243 | + type: string |
| 244 | + value: |
| 245 | + description: |- |
| 246 | + Value is the list of values that the operand evaluates the input |
| 247 | + against. Value should be empty if the operator is Exists, DoesNotExist, |
| 248 | + IsTrue or IsFalse. Value should contain exactly one element if the |
| 249 | + operator is Gt or Lt and exactly two elements if the operator is GtLt. |
| 250 | + In other cases Value should contain at least one element. |
| 251 | + items: |
| 252 | + type: string |
| 253 | + type: array |
| 254 | + required: |
| 255 | + - op |
| 256 | + type: object |
183 | 257 | required:
|
184 | 258 | - feature
|
185 | 259 | - matchExpressions
|
|
0 commit comments