mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-12 12:36:55 +00:00
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:
@@ -145,7 +145,7 @@ type RunnerPodSpec struct {
|
|||||||
HostAliases []corev1.HostAlias `json:"hostAliases,omitempty"`
|
HostAliases []corev1.HostAlias `json:"hostAliases,omitempty"`
|
||||||
|
|
||||||
// +optional
|
// +optional
|
||||||
TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraint,omitempty"`
|
TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
|
||||||
|
|
||||||
// RuntimeClassName is the container runtime configuration that containers should run under.
|
// RuntimeClassName is the container runtime configuration that containers should run under.
|
||||||
// More info: https://kubernetes.io/docs/concepts/containers/runtime-class
|
// More info: https://kubernetes.io/docs/concepts/containers/runtime-class
|
||||||
|
|||||||
@@ -4157,7 +4157,7 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
topologySpreadConstraint:
|
topologySpreadConstraints:
|
||||||
items:
|
items:
|
||||||
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -4154,7 +4154,7 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
topologySpreadConstraint:
|
topologySpreadConstraints:
|
||||||
items:
|
items:
|
||||||
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -4095,7 +4095,7 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
topologySpreadConstraint:
|
topologySpreadConstraints:
|
||||||
items:
|
items:
|
||||||
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -4157,7 +4157,7 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
topologySpreadConstraint:
|
topologySpreadConstraints:
|
||||||
items:
|
items:
|
||||||
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -4154,7 +4154,7 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
topologySpreadConstraint:
|
topologySpreadConstraints:
|
||||||
items:
|
items:
|
||||||
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -4095,7 +4095,7 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
topologySpreadConstraint:
|
topologySpreadConstraints:
|
||||||
items:
|
items:
|
||||||
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
Reference in New Issue
Block a user