Skip to content

Commit

Permalink
Spelling fix in build and buildrun types comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice Rum committed Apr 21, 2022
1 parent bf5addb commit 0ec7241
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
6 changes: 3 additions & 3 deletions deploy/crds/shipwright.io_buildruns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ spec:
type: string
volumes:
description: Volumes contains volume Overrides of the BuildStrategy
volumes in case those are allowed to be overriden. Must only
volumes in case those are allowed to be overridden. Must only
contain volumes that exist in the corresponding BuildStrategy
items:
description: BuildVolume is a volume that will be mounted in
Expand Down Expand Up @@ -2387,7 +2387,7 @@ spec:
type: string
volumes:
description: Volumes contains volume Overrides of the BuildStrategy
volumes in case those are allowed to be overriden. Must only contain
volumes in case those are allowed to be overridden. Must only contain
volumes that exist in the corresponding BuildStrategy
items:
description: BuildVolume is a volume that will be mounted in build
Expand Down Expand Up @@ -4333,7 +4333,7 @@ spec:
type: string
volumes:
description: Volumes contains volume Overrides of the BuildStrategy
volumes in case those are allowed to be overriden. Must only
volumes in case those are allowed to be overridden. Must only
contain volumes that exist in the corresponding BuildStrategy
items:
description: BuildVolume is a volume that will be mounted in
Expand Down
2 changes: 1 addition & 1 deletion deploy/crds/shipwright.io_builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ spec:
type: string
volumes:
description: Volumes contains volume Overrides of the BuildStrategy
volumes in case those are allowed to be overriden. Must only contain
volumes in case those are allowed to be overridden. Must only contain
volumes that exist in the corresponding BuildStrategy
items:
description: BuildVolume is a volume that will be mounted in build
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/build/v1alpha1/build_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ type BuildSpec struct {
Retention *BuildRetention `json:"retention,omitempty"`

// Volumes contains volume Overrides of the BuildStrategy volumes in case those are allowed
// to be overriden. Must only contain volumes that exist in the corresponding BuildStrategy
// to be overridden. Must only contain volumes that exist in the corresponding BuildStrategy
// +optional
Volumes []BuildVolume `json:"volumes,omitempty"`
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/build/v1alpha1/buildrun_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ type BuildRunSpec struct {
Retention *BuildRunRetention `json:"retention,omitempty"`

// Volumes contains volume Overrides of the BuildStrategy volumes in case those are allowed
// to be overriden. Must only contain volumes that exist in the corresponding BuildStrategy
// to be overridden. Must only contain volumes that exist in the corresponding BuildStrategy
// +optional
Volumes []BuildVolume `json:"volumes,omitempty"`
}
Expand Down
2 changes: 1 addition & 1 deletion test/buildstrategy_samples.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ spec:
description: "time in seconds for sleeping"
default: "1"
- name: array-param
descripion: "An arbitrary array"
description: "An arbitrary array"
type: array
defaults: []
buildSteps:
Expand Down
10 changes: 7 additions & 3 deletions test/clusterbuildstrategy_samples.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ kind: BuildStrategy
metadata:
name: buildah
spec:
volumes:
- name: buildah-images
volumeSource:
emptyDir: {}
buildSteps:
- name: buildah-bud
image: quay.io/containers/buildah:v1.20.1
Expand Down Expand Up @@ -68,9 +72,9 @@ metadata:
name: buildah
spec:
volumes:
- name: buildah-images
volumeSource:
emptyDir: {}
- name: buildah-images
volumeSource:
emptyDir: {}
buildSteps:
- name: buildah-bud
image: quay.io/containers/buildah:v1.20.1
Expand Down

0 comments on commit 0ec7241

Please sign in to comment.