api: Deprecate field gitImplementation
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
parent
953c10eaa9
commit
cc75764412
|
@ -97,6 +97,8 @@ 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
|
||||
// +optional
|
||||
|
|
|
@ -411,9 +411,10 @@ spec:
|
|||
type: object
|
||||
gitImplementation:
|
||||
default: go-git
|
||||
description: GitImplementation specifies which Git client library
|
||||
implementation to use. Defaults to 'go-git', valid values are ('go-git',
|
||||
'libgit2').
|
||||
description: '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.'
|
||||
enum:
|
||||
- go-git
|
||||
- libgit2
|
||||
|
|
Loading…
Reference in New Issue