Skip to content

Commit a3dc281

Browse files
maltelehmannbrandond
authored andcommitted
fix: run go generate
1 parent 189003c commit a3dc281

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

doc/plan.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ _Appears in:_
123123
| `drain` _[DrainSpec](#drainspec)_ | Configuration for draining nodes prior to upgrade. If left unspecified, no drain will be performed. | | |
124124
| `imagePullSecrets` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#localobjectreference-v1-core) array_ | Image Pull Secrets, used to pull images for the Job. | | |
125125
| `postCompleteDelay` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#duration-v1-meta)_ | Time after a Job for one Node is complete before a new Job will be created for the next Node. | | |
126-
| `PriorityClassName` _string_ | Priority Class Name of Job, if specified. | | |
126+
| `priorityClassName` _string_ | Priority Class Name of Job, if specified. | | |
127+
127128

128129
#### PlanStatus
129130

pkg/apis/upgrade.cattle.io/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ type PlanSpec struct {
8282
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
8383
// Time after a Job for one Node is complete before a new Job will be created for the next Node.
8484
PostCompleteDelay *metav1.Duration `json:"postCompleteDelay,omitempty"`
85-
// Priority Class Name used for Jobs
85+
// Priority Class Name of Job, if specified.
8686
PriorityClassName *string `json:"priorityClassName,omitempty"`
8787
}
8888

pkg/apis/upgrade.cattle.io/v1/zz_generated_deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/crds/yaml/generated/upgrade.cattle.io_plans.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,9 @@ spec:
630630
required:
631631
- image
632632
type: object
633+
priorityClassName:
634+
description: Priority Class Name of Job, if specified.
635+
type: string
633636
secrets:
634637
description: Secrets to be mounted into the Job Pod.
635638
items:

0 commit comments

Comments
 (0)