File tree Expand file tree Collapse file tree 5 files changed +34
-64
lines changed
github.com/devtron-labs/common-lib/utils/k8s Expand file tree Collapse file tree 5 files changed +34
-64
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ require (
22
22
github.com/davecgh/go-spew v1.1.1
23
23
github.com/deckarep/golang-set v1.8.0
24
24
github.com/devtron-labs/authenticator v0.4.35-0.20240607135426-c86e868ecee1
25
- github.com/devtron-labs/common-lib v0.0.24-beta2
25
+ github.com/devtron-labs/common-lib v0.0.24-beta3
26
26
github.com/devtron-labs/go-bitbucket v0.9.60-beta
27
27
github.com/devtron-labs/protos v0.0.3-0.20240527113333-08a3be5ec6c1
28
28
github.com/evanphx/json-patch v5.7.0+incompatible
Original file line number Diff line number Diff line change @@ -197,8 +197,8 @@ github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc h1:VRRKCwnzq
197
197
github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc /go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU =
198
198
github.com/devtron-labs/authenticator v0.4.35-0.20240607135426-c86e868ecee1 h1:qdkpTAo2Kr0ZicZIVXfNwsGSshpc9OB9j9RzmKYdIwY =
199
199
github.com/devtron-labs/authenticator v0.4.35-0.20240607135426-c86e868ecee1 /go.mod h1:IkKPPEfgLCMR29he5yv2OCC6iM2R7K5/0AA3k8b9XNc =
200
- github.com/devtron-labs/common-lib v0.0.24-beta2 h1:DQFSgn3i9mZROff5TcYn3gZfRBdl7jftQRP02Pxy3wg =
201
- github.com/devtron-labs/common-lib v0.0.24-beta2 /go.mod h1:UZGPt1ep9Tnd9Ak2sibGSiLr7p3ijO2/JLT+h+pqBuU =
200
+ github.com/devtron-labs/common-lib v0.0.24-beta3 h1:hG9GkPJu9g9MIga4CUDlvnIlfcDrrowQvSuMWBqmprQ =
201
+ github.com/devtron-labs/common-lib v0.0.24-beta3 /go.mod h1:UZGPt1ep9Tnd9Ak2sibGSiLr7p3ijO2/JLT+h+pqBuU =
202
202
github.com/devtron-labs/go-bitbucket v0.9.60-beta h1:VEx1jvDgdtDPS6A1uUFoaEi0l1/oLhbr+90xOwr6sDU =
203
203
github.com/devtron-labs/go-bitbucket v0.9.60-beta /go.mod h1:GnuiCesvh8xyHeMCb+twm8lBR/kQzJYSKL28ZfObp1Y =
204
204
github.com/devtron-labs/protos v0.0.3-0.20240527113333-08a3be5ec6c1 h1:R6qVeFaayqstBSu4w+ipWQqJyMKDqBVV3a11qoA2IaM =
Original file line number Diff line number Diff line change @@ -787,17 +787,15 @@ func (impl *ManifestCreationServiceImpl) getK8sHPAResourceManifest(ctx context.C
787
787
version := "v2beta2"
788
788
k8sReq := & k8s.ResourceRequestBean {
789
789
ClusterId : clusterId ,
790
- K8sRequest : k8sUtil .NewK8sRequestBean (
791
- k8sUtil .WithResourceIdentifier (
792
- k8sUtil .NewResourceIdentifier (
793
- k8sUtil .WithName (hpaResourceRequest .ResourceName ),
794
- k8sUtil .WithNameSpace (namespace ),
795
- k8sUtil .WithGroup (hpaResourceRequest .Group ),
796
- k8sUtil .WithKind (hpaResourceRequest .Kind ),
797
- k8sUtil .WithVersion (version ),
798
- ),
790
+ K8sRequest : k8sUtil .NewK8sRequestBean ().
791
+ WithResourceIdentifier (
792
+ k8sUtil .NewResourceIdentifier ().
793
+ WithName (hpaResourceRequest .ResourceName ).
794
+ WithNameSpace (namespace ).
795
+ WithGroup (hpaResourceRequest .Group ).
796
+ WithKind (hpaResourceRequest .Kind ).
797
+ WithVersion (version ),
799
798
),
800
- ),
801
799
}
802
800
k8sResource , err := impl .k8sCommonService .GetResource (newCtx , k8sReq )
803
801
if err != nil {
Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ github.com/devtron-labs/authenticator/jwt
402
402
github.com/devtron-labs/authenticator/middleware
403
403
github.com/devtron-labs/authenticator/oidc
404
404
github.com/devtron-labs/authenticator/password
405
- # github.com/devtron-labs/common-lib v0.0.24-beta2
405
+ # github.com/devtron-labs/common-lib v0.0.24-beta3
406
406
## explicit; go 1.21
407
407
github.com/devtron-labs/common-lib/async
408
408
github.com/devtron-labs/common-lib/blob-storage
You can’t perform that action at this time.
0 commit comments