Skip to content

Commit

Permalink
fix: add label overwrite for tiproxy component val compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: xhe <[email protected]>
  • Loading branch information
xhebox committed Jul 21, 2023
1 parent 2aa655d commit 27bb599
Show file tree
Hide file tree
Showing 9 changed files with 198 additions and 5 deletions.
10 changes: 10 additions & 0 deletions docs/api-references/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -25489,6 +25489,16 @@ LabelSelector is generated by component type
See pkg/apis/pingcap/v1alpha1/tidbcluster_component.go#TopologySpreadConstraints()</p>
</td>
</tr>
<tr>
<td>
<code>matchLabels</code></br>
<em>
github.com/pingcap/tidb-operator/pkg/apis/label.Label
</em>
</td>
<td>
</td>
</tr>
</tbody>
</table>
<h3 id="txnlocallatches">TxnLocalLatches</h3>
Expand Down
80 changes: 80 additions & 0 deletions manifests/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7451,9 +7451,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -9990,9 +9995,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -10122,9 +10132,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -12590,9 +12605,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -18429,9 +18449,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -21004,9 +21029,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -23538,9 +23568,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -26049,9 +26084,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -28742,9 +28782,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -31291,9 +31336,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -33829,9 +33879,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -36311,9 +36366,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -36349,9 +36409,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -40299,9 +40364,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -47652,9 +47722,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -47790,9 +47865,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down
20 changes: 20 additions & 0 deletions manifests/crd/v1/pingcap.com_dmclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2866,9 +2866,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -5405,9 +5410,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -5537,9 +5547,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down Expand Up @@ -8005,9 +8020,14 @@ spec:
topologySpreadConstraints:
items:
properties:
matchLabels:
additionalProperties:
type: string
type: object
topologyKey:
type: string
required:
- matchLabels
- topologyKey
type: object
type: array
Expand Down
Loading

0 comments on commit 27bb599

Please sign in to comment.