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
|
// GitImplementation specifies which Git client library implementation to
|
||||||
// use. Defaults to 'go-git', valid values are ('go-git', 'libgit2').
|
// 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:validation:Enum=go-git;libgit2
|
||||||
// +kubebuilder:default:=go-git
|
// +kubebuilder:default:=go-git
|
||||||
// +optional
|
// +optional
|
||||||
|
|
|
@ -411,9 +411,10 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
gitImplementation:
|
gitImplementation:
|
||||||
default: go-git
|
default: go-git
|
||||||
description: GitImplementation specifies which Git client library
|
description: 'GitImplementation specifies which Git client library
|
||||||
implementation to use. Defaults to 'go-git', valid values are ('go-git',
|
implementation to use. Defaults to ''go-git'', valid values are
|
||||||
'libgit2').
|
(''go-git'', ''libgit2''). Deprecated: gitImplementation is deprecated
|
||||||
|
now that ''go-git'' is the only supported implementation.'
|
||||||
enum:
|
enum:
|
||||||
- go-git
|
- go-git
|
||||||
- libgit2
|
- libgit2
|
||||||
|
|
Loading…
Reference in New Issue