File tree Expand file tree Collapse file tree 3 files changed +0
-15
lines changed
Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,4 @@ type HelmClient interface {
1616 IsReleaseExists (releaseName string ) (bool , error )
1717 WithLogLabels (map [string ]string )
1818 WithExtraLabels (map [string ]string )
19- WithExtraAnnotations (map [string ]string )
2019}
Original file line number Diff line number Diff line change @@ -32,22 +32,11 @@ func WithLogLabels(logLabels map[string]string) ClientOption {
3232 }
3333}
3434
35- func WithExtraAnnotations (annotations map [string ]string ) ClientOption {
36- return func (c client.HelmClient ) {
37- c .WithExtraAnnotations (annotations )
38- }
39- }
40-
4135func (f * ClientFactory ) NewClient (logger * log.Logger , options ... ClientOption ) client.HelmClient {
4236 if f .NewClientFn != nil {
4337 labels := maps .Clone (f .labels )
4438 c := f .NewClientFn (logger , labels )
4539
46- // Add werf.io/skip-logs and werf.io/track-termination-mode annotations when using nelm
47- if f .ClientType == Nelm {
48- c .WithExtraAnnotations (map [string ]string {})
49- }
50-
5140 for _ , option := range options {
5241 option (c )
5342 }
Original file line number Diff line number Diff line change @@ -68,9 +68,6 @@ func (c *Client) WithLogLabels(_ map[string]string) {
6868func (c * Client ) WithExtraLabels (_ map [string ]string ) {
6969}
7070
71- func (c * Client ) WithExtraAnnotations (_ map [string ]string ) {
72- }
73-
7471func (c * Client ) GetReleaseLabels (_ , _ string ) (string , error ) {
7572 return "" , nil
7673}
You can’t perform that action at this time.
0 commit comments