Skip to content

Commit

Permalink
Merge pull request #675 from coreydaley/update_controlplane_forcepull
Browse files Browse the repository at this point in the history
Updating ForcePull in controlplane to be a pointer
  • Loading branch information
openshift-merge-robot committed Jun 25, 2020
2 parents 3fb99e4 + ff46ca1 commit 213ae49
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
8 changes: 6 additions & 2 deletions openshiftcontrolplane/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,12 @@ type SourceStrategyDefaultsConfig struct {
type BuildOverridesConfig struct {
metav1.TypeMeta `json:",inline"`

// forcePull indicates whether the build strategy should always be set to ForcePull=true
ForcePull bool `json:"forcePull"`
// forcePull overrides, if set, the equivalent value in the builds,
// i.e. false disables force pull for all builds,
// true enables force pull for all builds,
// independently of what each build specifies itself
// +optional
ForcePull *bool `json:"forcePull,omitempty"`

// imageLabels is a list of labels that are applied to the resulting image.
// If user provided a label in their Build/BuildConfig with the same name as one in this
Expand Down
5 changes: 5 additions & 0 deletions openshiftcontrolplane/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 213ae49

Please sign in to comment.