Skip to content

Commit d551277

Browse files
author
Paulo Gomes
committed
api: Deprecate field gitImplementation
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
1 parent f9c4567 commit d551277

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

api/v1beta2/gitrepository_types.go

+2
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ type GitRepositorySpec struct {
9797

9898
// GitImplementation specifies which Git client library implementation to
9999
// use. Defaults to 'go-git', valid values are ('go-git', 'libgit2').
100+
// Deprecated: gitImplementation is deprecated now that 'go-git' is the
101+
// only supported implementation.
100102
// +kubebuilder:validation:Enum=go-git;libgit2
101103
// +kubebuilder:default:=go-git
102104
// +optional

config/crd/bases/source.toolkit.fluxcd.io_gitrepositories.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,10 @@ spec:
411411
type: object
412412
gitImplementation:
413413
default: go-git
414-
description: GitImplementation specifies which Git client library
415-
implementation to use. Defaults to 'go-git', valid values are ('go-git',
416-
'libgit2').
414+
description: 'GitImplementation specifies which Git client library
415+
implementation to use. Defaults to ''go-git'', valid values are
416+
(''go-git'', ''libgit2''). Deprecated: gitImplementation is deprecated
417+
now that ''go-git'' is the only supported implementation.'
417418
enum:
418419
- go-git
419420
- libgit2

0 commit comments

Comments
 (0)