Skip to content

Commit

Permalink
Pluralize topologySpreadConstraint to match docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbui authored and mumoshu committed Apr 20, 2022
1 parent 8195178 commit 6ecb7f7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/runner_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/actions.summerwind.dev_runners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6ecb7f7

Please sign in to comment.