From 4c6ed8e4b5210c4cabb3855dda876ce39cb6a0cb Mon Sep 17 00:00:00 2001 From: Tanmay Jain Date: Tue, 15 Oct 2024 05:28:49 +0530 Subject: [PATCH 1/2] Updating lib to 1.5 and fix vulnerabilities --- go.mod | 7 +++++-- go.sum | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 9b52103..2270143 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/aerospike/aerospike-kubernetes-init go 1.22 require ( - github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20240913053747-457c7c1f350d + github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20241001083134-aa051f72de96 github.com/go-logr/logr v1.4.2 github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.4.0 github.com/mitchellh/go-ps v1.0.0 @@ -17,7 +17,7 @@ require ( require ( github.com/aerospike/aerospike-client-go/v7 v7.6.1 // indirect - github.com/aerospike/aerospike-management-lib v1.4.0 // indirect + github.com/aerospike/aerospike-management-lib v1.5.0 // indirect github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect @@ -85,3 +85,6 @@ require ( sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect sigs.k8s.io/yaml v1.4.0 // indirect ) + +// Fixing vulnerability SNYK-GOLANG-GITHUBCOMSIRUPSENLOGRUS-5564391 +replace github.com/sirupsen/logrus => github.com/sirupsen/logrus v1.9.1 \ No newline at end of file diff --git a/go.sum b/go.sum index 872957f..5c474c7 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +1,9 @@ github.com/aerospike/aerospike-client-go/v7 v7.6.1 h1:VZK6S9YKq2w6ptTk3kXXjTxG2U9M9Y7Oi3YQ+3T7wQQ= github.com/aerospike/aerospike-client-go/v7 v7.6.1/go.mod h1:uCbSYMpjlRcH/9f26VSF/luzDDXrcDaV8c6/WIcKtT4= -github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20240913053747-457c7c1f350d h1:oHcEM+nlObLOH2SpCbkDUhx/AYcscDMt4zx/Tauf85s= -github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20240913053747-457c7c1f350d/go.mod h1:kS9cyQuaGb5v3TH7lNKXFzZR2i9AoXXaTCIrSJOcoso= -github.com/aerospike/aerospike-management-lib v1.4.0 h1:wT0l3kwzXv5DV5Cd+hD0BQq3hjSIyaPX1HaUb1304TI= -github.com/aerospike/aerospike-management-lib v1.4.0/go.mod h1:3JKrmC/mLSV8SygbrPQPNV8T7bFaTMjB8wfnX25gB+4= +github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20241001083134-aa051f72de96 h1:X9Flk1IsbS9UVI1HKTRQmHpHNEEEC4rkhgjpxc3ZFdM= +github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20241001083134-aa051f72de96/go.mod h1:kS9cyQuaGb5v3TH7lNKXFzZR2i9AoXXaTCIrSJOcoso= +github.com/aerospike/aerospike-management-lib v1.5.0 h1:uAEaBU+PkzbtwsSrPVokLIUeJaDrFSMtwqeCKba3xIs= +github.com/aerospike/aerospike-management-lib v1.5.0/go.mod h1:hsEptY/AmTmHoJnItJNmfJ4yCMG8LIB8YPnIpIyvGXI= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d h1:Byv0BzEl3/e6D5CLfI0j/7hiIEtvGVFPCZ7Ei2oq8iQ= From 62fcf56796aa3491531a62b4c2003294e0f12915 Mon Sep 17 00:00:00 2001 From: Tanmay Jain Date: Wed, 16 Oct 2024 22:32:48 +0530 Subject: [PATCH 2/2] Updating AKO hash --- go.mod | 4 ++-- go.sum | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 2270143..96bc1f0 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/aerospike/aerospike-kubernetes-init go 1.22 require ( - github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20241001083134-aa051f72de96 + github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20241016165325-74a853c18a98 github.com/go-logr/logr v1.4.2 github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.4.0 github.com/mitchellh/go-ps v1.0.0 @@ -87,4 +87,4 @@ require ( ) // Fixing vulnerability SNYK-GOLANG-GITHUBCOMSIRUPSENLOGRUS-5564391 -replace github.com/sirupsen/logrus => github.com/sirupsen/logrus v1.9.1 \ No newline at end of file +replace github.com/sirupsen/logrus => github.com/sirupsen/logrus v1.9.1 diff --git a/go.sum b/go.sum index 5c474c7..92cb6cf 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ github.com/aerospike/aerospike-client-go/v7 v7.6.1 h1:VZK6S9YKq2w6ptTk3kXXjTxG2U9M9Y7Oi3YQ+3T7wQQ= github.com/aerospike/aerospike-client-go/v7 v7.6.1/go.mod h1:uCbSYMpjlRcH/9f26VSF/luzDDXrcDaV8c6/WIcKtT4= -github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20241001083134-aa051f72de96 h1:X9Flk1IsbS9UVI1HKTRQmHpHNEEEC4rkhgjpxc3ZFdM= -github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20241001083134-aa051f72de96/go.mod h1:kS9cyQuaGb5v3TH7lNKXFzZR2i9AoXXaTCIrSJOcoso= +github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20241016165325-74a853c18a98 h1:bhg99pbh1Z0EALqANZs4EEIjyiYT9IuRuFrq8cmgfwI= +github.com/aerospike/aerospike-kubernetes-operator v0.0.0-20241016165325-74a853c18a98/go.mod h1:51gVMITScFL9O2gFQ263/JaO4GACcVbvyj5aXcHYxL8= github.com/aerospike/aerospike-management-lib v1.5.0 h1:uAEaBU+PkzbtwsSrPVokLIUeJaDrFSMtwqeCKba3xIs= github.com/aerospike/aerospike-management-lib v1.5.0/go.mod h1:hsEptY/AmTmHoJnItJNmfJ4yCMG8LIB8YPnIpIyvGXI= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=