breaking: Pluralize topologySpreadConstraint to match docs (#1089)

Original PR:
https://github.com/actions-runner-controller/actions-runner-controller/pull/814/files#diff-25283fab3c6d5fa726652c8741a122c1ba14d8486fe092774617a385e4bc1a92R145

If you're already using this feature, follow the process explained in https://github.com/actions-runner-controller/actions-runner-controller/pull/1089#issuecomment-1103354025 when upgrading.

Fixes #984
This commit is contained in:
Chris Bui 2022-04-19 20:47:18 -05:00 committed by GitHub
parent 7a5a6381c3
commit cb4e1fa8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -145,7 +145,7 @@ type RunnerPodSpec struct {
HostAliases []corev1.HostAlias `json:"hostAliases,omitempty"`
// +optional
TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraint,omitempty"`
TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
// RuntimeClassName is the container runtime configuration that containers should run under.
// More info: https://kubernetes.io/docs/concepts/containers/runtime-class

View File

@ -4157,7 +4157,7 @@ spec:
type: string
type: object
type: array
topologySpreadConstraint:
topologySpreadConstraints:
items:
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
properties:

View File

@ -4154,7 +4154,7 @@ spec:
type: string
type: object
type: array
topologySpreadConstraint:
topologySpreadConstraints:
items:
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
properties:

View File

@ -4095,7 +4095,7 @@ spec:
type: string
type: object
type: array
topologySpreadConstraint:
topologySpreadConstraints:
items:
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
properties:

View File

@ -4157,7 +4157,7 @@ spec:
type: string
type: object
type: array
topologySpreadConstraint:
topologySpreadConstraints:
items:
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
properties:

View File

@ -4154,7 +4154,7 @@ spec:
type: string
type: object
type: array
topologySpreadConstraint:
topologySpreadConstraints:
items:
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
properties:

View File

@ -4095,7 +4095,7 @@ spec:
type: string
type: object
type: array
topologySpreadConstraint:
topologySpreadConstraints:
items:
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
properties: