Skip to content

Commit

Permalink
api: Deprecate field gitImplementation
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
  • Loading branch information
Paulo Gomes committed Dec 12, 2022
1 parent 422e64f commit 61a0a6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/v1beta2/gitrepository_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,11 @@ type GitRepositorySpec struct {

// GitImplementation specifies which Git client library implementation to
// use. Defaults to 'go-git', valid values are ('go-git', 'libgit2').
// Deprecated: gitImplementation is deprecated now that 'go-git' is the
// only supported implementation.
// +kubebuilder:validation:Enum=go-git;libgit2
// +kubebuilder:default:=go-git
// +kubebuilder:deprecatedversion:warning="gitImplementation is deprecated"
// +optional
GitImplementation string `json:"gitImplementation,omitempty"`

Expand Down

0 comments on commit 61a0a6d

Please sign in to comment.