|
77 | 77 | the route. |
78 | 78 | pattern: ^([a-zA-Z0-9\p{S}\p{L}]((-?[a-zA-Z0-9\p{S}\p{L}]{0,62})?)|([a-zA-Z0-9\p{S}\p{L}](([a-zA-Z0-9-\p{S}\p{L}]{0,61}[a-zA-Z0-9\p{S}\p{L}])?)(\.)){1,}([a-zA-Z\p{L}]){2,63})$|^(([a-z0-9][-a-z0-9]{0,61}[a-z0-9]|[a-z0-9]{1,63})[\.]){0,}([a-z0-9][-a-z0-9]{0,61}[a-z0-9]|[a-z0-9]{1,63})$ |
79 | 79 | type: string |
| 80 | + labels: |
| 81 | + additionalProperties: |
| 82 | + description: |- |
| 83 | + LabelValue is the value part of a Kubernetes label. |
| 84 | + A label value must be either empty or 1-63 characters, consisting of |
| 85 | + alphanumeric characters, '-', '_', or '.', starting and ending with |
| 86 | + an alphanumeric character. |
| 87 | + maxLength: 63 |
| 88 | + type: string |
| 89 | + x-kubernetes-validations: |
| 90 | + - message: label values must be valid Kubernetes label values |
| 91 | + (at most 63 characters, alphanumeric, '-', '_', or '.', |
| 92 | + must start and end with alphanumeric) |
| 93 | + rule: '!format.labelValue().validate(self).hasValue()' |
| 94 | + description: |- |
| 95 | + labels defines additional labels to be applied to the route created |
| 96 | + for the component. These labels are used by the IngressController to |
| 97 | + determine which routes it should manage. Changing labels may cause the |
| 98 | + route to be reassigned to a different IngressController. |
| 99 | + When omitted, no additional labels are applied to the component route. |
| 100 | + When specified, labels must contain at least one entry, up to a maximum of 8. |
| 101 | + Label keys must be valid qualified names, consisting of a name segment and |
| 102 | + an optional prefix separated by a slash (/). The name segment must be at most |
| 103 | + 63 characters in length and must consist only of alphanumeric characters, |
| 104 | + dashes (-), underscores (_), and dots (.), and must start and end with |
| 105 | + alphanumeric characters. The prefix, if specified, must be a DNS subdomain: |
| 106 | + at most 253 characters in length, consisting of dot-separated segments where |
| 107 | + each segment starts and ends with an alphanumeric character. |
| 108 | + Label values must be either empty or 1-63 characters, consisting of |
| 109 | + alphanumeric characters, dashes (-), underscores (_), or dots (.), |
| 110 | + starting and ending with an alphanumeric character. |
| 111 | + Keys with the "kubernetes.io/", "k8s.io/", and "openshift.io/" prefixes are reserved and may not be used. |
| 112 | + maxProperties: 8 |
| 113 | + minProperties: 1 |
| 114 | + type: object |
| 115 | + x-kubernetes-map-type: granular |
| 116 | + x-kubernetes-validations: |
| 117 | + - message: label keys must be valid qualified names, consisting |
| 118 | + of an optional DNS subdomain prefix of up to 253 characters |
| 119 | + followed by a slash and a name segment of 1-63 characters, |
| 120 | + that consists only of alphanumeric characters, dashes, underscores, |
| 121 | + and dots, and must start and end with an alphanumeric character |
| 122 | + rule: self.all(key, !format.qualifiedName().validate(key).hasValue()) |
| 123 | + - message: kubernetes.io/, k8s.io/, and openshift.io/ prefixed |
| 124 | + label keys are reserved and may not be used |
| 125 | + rule: self.all(key, !key.startsWith('kubernetes.io/') && !key.startsWith('k8s.io/') |
| 126 | + && !key.startsWith('openshift.io/')) |
80 | 127 | name: |
81 | 128 | description: |- |
82 | 129 | name is the logical name of the route to customize. |
|
0 commit comments