Skip to content

Commit

Permalink
Merge pull request #683 from ImJasonH/flavor
Browse files Browse the repository at this point in the history
Remove unused fields from GitSource
  • Loading branch information
openshift-merge-robot authored Mar 22, 2021
2 parents 0430ccc + 72e733a commit c086190
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 40 deletions.
14 changes: 0 additions & 14 deletions deploy/crds/shipwright.io_buildruns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,20 +261,6 @@ spec:
TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
type: object
flavor:
description: Flavor of the git provider like github, gitlab,
bitbucket, generic, etc. Optional.
type: string
httpProxy:
description: HTTPProxy is optional.
type: string
httpsProxy:
description: HTTPSProxy is optional.
type: string
noProxy:
description: NoProxy can be used to specify domains for which
no proxying should be performed. Optional.
type: string
revision:
description: Ref is a git reference. Optional. If not defined,
it will fallback to the git repository default branch.
Expand Down
14 changes: 0 additions & 14 deletions deploy/crds/shipwright.io_builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,20 +202,6 @@ spec:
TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
type: object
flavor:
description: Flavor of the git provider like github, gitlab, bitbucket,
generic, etc. Optional.
type: string
httpProxy:
description: HTTPProxy is optional.
type: string
httpsProxy:
description: HTTPSProxy is optional.
type: string
noProxy:
description: NoProxy can be used to specify domains for which
no proxying should be performed. Optional.
type: string
revision:
description: Ref is a git reference. Optional. If not defined,
it will fallback to the git repository default branch.
Expand Down
12 changes: 0 additions & 12 deletions pkg/apis/build/v1alpha1/gitsource.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@ type GitSource struct {
// +optional
ContextDir *string `json:"contextDir,omitempty"`

// HTTPProxy is optional.
HTTPProxy string `json:"httpProxy,omitempty"`

// HTTPSProxy is optional.
HTTPSProxy string `json:"httpsProxy,omitempty"`

// NoProxy can be used to specify domains for which no proxying should be performed. Optional.
NoProxy string `json:"noProxy,omitempty"`

// SecretRef refers to the secret that contains credentials to access the git repo. Optional.
SecretRef *corev1.LocalObjectReference `json:"credentials,omitempty"`

// Flavor of the git provider like github, gitlab, bitbucket, generic, etc. Optional.
Flavor string `json:"flavor,omitempty"`
}

0 comments on commit c086190

Please sign in to comment.