From e0006f264f0b1dc01a884e1195c14b0f95da4b53 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 08:33:46 +0100 Subject: [PATCH 01/10] Bump github/codeql-action from 3.27.4 to 3.27.5 (#2580) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.4 to 3.27.5. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/ea9e4e37992a54ee68a9622e985e60c8e8f12d9f...f09c1c0a94de965c15400f5634aa42fac8fb8f88) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql-analysis.yml | 6 +++--- .github/workflows/scorecard.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 47c78f398..34b42d354 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -52,7 +52,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 + uses: github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5 with: languages: ${{ matrix.language }} tools: latest @@ -64,7 +64,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 + uses: github/codeql-action/autobuild@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -78,4 +78,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 + uses: github/codeql-action/analyze@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5 diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index dc09154fc..f79356472 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -68,6 +68,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard (optional). # Commenting out will disable upload of results to your repo's Code Scanning dashboard - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 + uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5 with: sarif_file: results.sarif From 94048d800f2354d77cbb8bc05ecc649c1ca12378 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 08:03:04 +0100 Subject: [PATCH 02/10] Bump k8s.io/api from 0.31.2 to 0.31.3 (#2581) Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.31.2 to 0.31.3. - [Commits](https://github.com/kubernetes/api/compare/v0.31.2...v0.31.3) --- updated-dependencies: - dependency-name: k8s.io/api dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index afab7c3d5..4ad6af67e 100644 --- a/go.mod +++ b/go.mod @@ -22,8 +22,8 @@ require ( github.com/operator-framework/operator-lifecycle-manager v0.30.0 github.com/pkg/errors v0.9.1 // indirect helm.sh/helm/v3 v3.16.3 - k8s.io/api v0.31.2 - k8s.io/apimachinery v0.31.2 + k8s.io/api v0.31.3 + k8s.io/apimachinery v0.31.3 k8s.io/klog/v2 v2.130.1 // indirect ) diff --git a/go.sum b/go.sum index c948e8f7d..552ae1203 100644 --- a/go.sum +++ b/go.sum @@ -721,12 +721,12 @@ helm.sh/helm/v3 v3.16.3 h1:kb8bSxMeRJ+knsK/ovvlaVPfdis0X3/ZhYCSFRP+YmY= helm.sh/helm/v3 v3.16.3/go.mod h1:zeVWGDR4JJgiRbT3AnNsjYaX8OTJlIE9zC+Q7F7iUSU= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -k8s.io/api v0.31.2 h1:3wLBbL5Uom/8Zy98GRPXpJ254nEFpl+hwndmk9RwmL0= -k8s.io/api v0.31.2/go.mod h1:bWmGvrGPssSK1ljmLzd3pwCQ9MgoTsRCuK35u6SygUk= +k8s.io/api v0.31.3 h1:umzm5o8lFbdN/hIXbrK9oRpOproJO62CV1zqxXrLgk8= +k8s.io/api v0.31.3/go.mod h1:UJrkIp9pnMOI9K2nlL6vwpxRzzEX5sWgn8kGQe92kCE= k8s.io/apiextensions-apiserver v0.31.2 h1:W8EwUb8+WXBLu56ser5IudT2cOho0gAKeTOnywBLxd0= k8s.io/apiextensions-apiserver v0.31.2/go.mod h1:i+Geh+nGCJEGiCGR3MlBDkS7koHIIKWVfWeRFiOsUcM= -k8s.io/apimachinery v0.31.2 h1:i4vUt2hPK56W6mlT7Ry+AO8eEsyxMD1U44NR22CLTYw= -k8s.io/apimachinery v0.31.2/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo= +k8s.io/apimachinery v0.31.3 h1:6l0WhcYgasZ/wk9ktLq5vLaoXJJr5ts6lkaQzgeYPq4= +k8s.io/apimachinery v0.31.3/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo= k8s.io/apiserver v0.31.2 h1:VUzOEUGRCDi6kX1OyQ801m4A7AUPglpsmGvdsekmcI4= k8s.io/apiserver v0.31.2/go.mod h1:o3nKZR7lPlJqkU5I3Ove+Zx3JuoFjQobGX1Gctw6XuE= k8s.io/cli-runtime v0.31.2 h1:7FQt4C4Xnqx8V1GJqymInK0FFsoC+fAZtbLqgXYVOLQ= From 39b333351dc9a9ea07e37a2f86ae56557bb95bfb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 08:50:59 +0100 Subject: [PATCH 03/10] Bump k8s.io/apiextensions-apiserver from 0.31.2 to 0.31.3 (#2582) Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.31.2 to 0.31.3. - [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases) - [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.31.2...v0.31.3) --- updated-dependencies: - dependency-name: k8s.io/apiextensions-apiserver dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 8 ++++---- go.sum | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 4ad6af67e..f81b1b77b 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( gopkg.in/yaml.v3 v3.0.1 ) -require k8s.io/client-go v0.31.2 +require k8s.io/client-go v0.31.3 require ( github.com/mittwald/go-helm-client v0.12.14 @@ -194,9 +194,9 @@ require ( gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect - k8s.io/apiserver v0.31.2 // indirect + k8s.io/apiserver v0.31.3 // indirect k8s.io/cli-runtime v0.31.2 // indirect - k8s.io/component-base v0.31.2 // indirect + k8s.io/component-base v0.31.3 // indirect k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 // indirect k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 // indirect modernc.org/libc v1.37.6 // indirect @@ -215,7 +215,7 @@ require ( require ( github.com/hashicorp/go-version v1.7.0 - k8s.io/apiextensions-apiserver v0.31.2 + k8s.io/apiextensions-apiserver v0.31.3 ) require ( diff --git a/go.sum b/go.sum index 552ae1203..a31b9033e 100644 --- a/go.sum +++ b/go.sum @@ -723,18 +723,18 @@ honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= k8s.io/api v0.31.3 h1:umzm5o8lFbdN/hIXbrK9oRpOproJO62CV1zqxXrLgk8= k8s.io/api v0.31.3/go.mod h1:UJrkIp9pnMOI9K2nlL6vwpxRzzEX5sWgn8kGQe92kCE= -k8s.io/apiextensions-apiserver v0.31.2 h1:W8EwUb8+WXBLu56ser5IudT2cOho0gAKeTOnywBLxd0= -k8s.io/apiextensions-apiserver v0.31.2/go.mod h1:i+Geh+nGCJEGiCGR3MlBDkS7koHIIKWVfWeRFiOsUcM= +k8s.io/apiextensions-apiserver v0.31.3 h1:+GFGj2qFiU7rGCsA5o+p/rul1OQIq6oYpQw4+u+nciE= +k8s.io/apiextensions-apiserver v0.31.3/go.mod h1:2DSpFhUZZJmn/cr/RweH1cEVVbzFw9YBu4T+U3mf1e4= k8s.io/apimachinery v0.31.3 h1:6l0WhcYgasZ/wk9ktLq5vLaoXJJr5ts6lkaQzgeYPq4= k8s.io/apimachinery v0.31.3/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo= -k8s.io/apiserver v0.31.2 h1:VUzOEUGRCDi6kX1OyQ801m4A7AUPglpsmGvdsekmcI4= -k8s.io/apiserver v0.31.2/go.mod h1:o3nKZR7lPlJqkU5I3Ove+Zx3JuoFjQobGX1Gctw6XuE= +k8s.io/apiserver v0.31.3 h1:+1oHTtCB+OheqFEz375D0IlzHZ5VeQKX1KGXnx+TTuY= +k8s.io/apiserver v0.31.3/go.mod h1:PrxVbebxrxQPFhJk4powDISIROkNMKHibTg9lTRQ0Qg= k8s.io/cli-runtime v0.31.2 h1:7FQt4C4Xnqx8V1GJqymInK0FFsoC+fAZtbLqgXYVOLQ= k8s.io/cli-runtime v0.31.2/go.mod h1:XROyicf+G7rQ6FQJMbeDV9jqxzkWXTYD6Uxd15noe0Q= -k8s.io/client-go v0.31.2 h1:Y2F4dxU5d3AQj+ybwSMqQnpZH9F30//1ObxOKlTI9yc= -k8s.io/client-go v0.31.2/go.mod h1:NPa74jSVR/+eez2dFsEIHNa+3o09vtNaWwWwb1qSxSs= -k8s.io/component-base v0.31.2 h1:Z1J1LIaC0AV+nzcPRFqfK09af6bZ4D1nAOpWsy9owlA= -k8s.io/component-base v0.31.2/go.mod h1:9PeyyFN/drHjtJZMCTkSpQJS3U9OXORnHQqMLDz0sUQ= +k8s.io/client-go v0.31.3 h1:CAlZuM+PH2cm+86LOBemaJI/lQ5linJ6UFxKX/SoG+4= +k8s.io/client-go v0.31.3/go.mod h1:2CgjPUTpv3fE5dNygAr2NcM8nhHzXvxB8KL5gYc3kJs= +k8s.io/component-base v0.31.3 h1:DMCXXVx546Rfvhj+3cOm2EUxhS+EyztH423j+8sOwhQ= +k8s.io/component-base v0.31.3/go.mod h1:xME6BHfUOafRgT0rGVBGl7TuSg8Z9/deT7qq6w7qjIU= k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 h1:MErs8YA0abvOqJ8gIupA1Tz6PKXYUw34XsGlA7uSL1k= From 68fdf649104855a2a5e7829d93c6770b293ce788 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 23 Nov 2024 01:53:52 +0200 Subject: [PATCH 04/10] Bump k8s.io/kubectl from 0.31.2 to 0.31.3 (#2584) Bumps [k8s.io/kubectl](https://github.com/kubernetes/kubectl) from 0.31.2 to 0.31.3. - [Commits](https://github.com/kubernetes/kubectl/compare/v0.31.2...v0.31.3) --- updated-dependencies: - dependency-name: k8s.io/kubectl dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index f81b1b77b..bfbdbfd80 100644 --- a/go.mod +++ b/go.mod @@ -195,7 +195,7 @@ require ( gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect k8s.io/apiserver v0.31.3 // indirect - k8s.io/cli-runtime v0.31.2 // indirect + k8s.io/cli-runtime v0.31.3 // indirect k8s.io/component-base v0.31.3 // indirect k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 // indirect k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 // indirect @@ -232,7 +232,7 @@ require ( github.com/robert-nix/ansihtml v1.0.1 golang.org/x/term v0.26.0 google.golang.org/api v0.207.0 - k8s.io/kubectl v0.31.2 + k8s.io/kubectl v0.31.3 ) replace github.com/redhat-openshift-ecosystem/openshift-preflight => github.com/redhat-openshift-ecosystem/openshift-preflight v0.0.0-20241021175030-e64988a27024 diff --git a/go.sum b/go.sum index a31b9033e..db779c9fc 100644 --- a/go.sum +++ b/go.sum @@ -729,8 +729,8 @@ k8s.io/apimachinery v0.31.3 h1:6l0WhcYgasZ/wk9ktLq5vLaoXJJr5ts6lkaQzgeYPq4= k8s.io/apimachinery v0.31.3/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo= k8s.io/apiserver v0.31.3 h1:+1oHTtCB+OheqFEz375D0IlzHZ5VeQKX1KGXnx+TTuY= k8s.io/apiserver v0.31.3/go.mod h1:PrxVbebxrxQPFhJk4powDISIROkNMKHibTg9lTRQ0Qg= -k8s.io/cli-runtime v0.31.2 h1:7FQt4C4Xnqx8V1GJqymInK0FFsoC+fAZtbLqgXYVOLQ= -k8s.io/cli-runtime v0.31.2/go.mod h1:XROyicf+G7rQ6FQJMbeDV9jqxzkWXTYD6Uxd15noe0Q= +k8s.io/cli-runtime v0.31.3 h1:fEQD9Xokir78y7pVK/fCJN090/iYNrLHpFbGU4ul9TI= +k8s.io/cli-runtime v0.31.3/go.mod h1:Q2jkyTpl+f6AtodQvgDI8io3jrfr+Z0LyQBPJJ2Btq8= k8s.io/client-go v0.31.3 h1:CAlZuM+PH2cm+86LOBemaJI/lQ5linJ6UFxKX/SoG+4= k8s.io/client-go v0.31.3/go.mod h1:2CgjPUTpv3fE5dNygAr2NcM8nhHzXvxB8KL5gYc3kJs= k8s.io/component-base v0.31.3 h1:DMCXXVx546Rfvhj+3cOm2EUxhS+EyztH423j+8sOwhQ= @@ -739,8 +739,8 @@ k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 h1:MErs8YA0abvOqJ8gIupA1Tz6PKXYUw34XsGlA7uSL1k= k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094/go.mod h1:7ioBJr1A6igWjsR2fxq2EZ0mlMwYLejazSIc2bzMp2U= -k8s.io/kubectl v0.31.2 h1:gTxbvRkMBwvTSAlobiTVqsH6S8Aa1aGyBcu5xYLsn8M= -k8s.io/kubectl v0.31.2/go.mod h1:EyASYVU6PY+032RrTh5ahtSOMgoDRIux9V1JLKtG5xM= +k8s.io/kubectl v0.31.3 h1:3r111pCjPsvnR98oLLxDMwAeM6OPGmPty6gSKaLTQes= +k8s.io/kubectl v0.31.3/go.mod h1:lhMECDCbJN8He12qcKqs2QfmVo9Pue30geovBVpH5fs= k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 h1:MDF6h2H/h4tbzmtIKTuctcwZmY0tY9mD9fNT47QO6HI= k8s.io/utils v0.0.0-20240921022957-49e7df575cb6/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= modernc.org/libc v1.37.6 h1:orZH3c5wmhIQFTXF+Nt+eeauyd+ZIt2BX6ARe+kD+aw= From 2daeea75213419bca428c8db1bb24a72e3e8a2b3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 24 Nov 2024 18:54:38 +0200 Subject: [PATCH 05/10] Update RHCOS to OCP version map (#2588) Co-authored-by: sebrandon1 <4563082+sebrandon1@users.noreply.github.com> --- tests/platform/operatingsystem/files/rhcos_version_map | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/platform/operatingsystem/files/rhcos_version_map b/tests/platform/operatingsystem/files/rhcos_version_map index 5a310aad7..0512ae62d 100644 --- a/tests/platform/operatingsystem/files/rhcos_version_map +++ b/tests/platform/operatingsystem/files/rhcos_version_map @@ -388,6 +388,7 @@ 4.15.36 / 415.92.202410020020-0 4.15.37 / 415.92.202410232038-0 4.15.38 / 415.92.202411050056-0 +4.15.39 / 415.92.202411201723-0 4.15.5 / 415.92.202403191241-0 4.15.6 / 415.92.202403270524-0 4.15.7 / 415.92.202403270524-0 @@ -424,6 +425,7 @@ 4.16.20 / 416.94.202410292028-0 4.16.21 / 416.94.202411061221-0 4.16.23 / 416.94.202411111409-0 +4.16.24 / 416.94.202411201433-0 4.16.3 / 416.94.202407081958-0 4.16.4 / 416.94.202407171205-0 4.16.5 / 416.94.202407231922-0 @@ -447,6 +449,7 @@ 4.17.3 / 417.94.202410211619-0 4.17.4 / 417.94.202411050056-0 4.17.5 / 417.94.202411070820-0 +4.17.6 / 417.94.202411201839-0 4.4.0 / 44.81.202004260825-0 4.4.0-rc.0 / 44.81.202003110830-0 4.4.0-rc.1 / 44.81.202003130330-0 From 1f52eeaa6584e2e5c1206e58df4109297186712b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 07:32:41 +0100 Subject: [PATCH 06/10] Bump google.golang.org/api from 0.207.0 to 0.209.0 (#2587) Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.207.0 to 0.209.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.207.0...v0.209.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index bfbdbfd80..17e4682ff 100644 --- a/go.mod +++ b/go.mod @@ -231,7 +231,7 @@ require ( github.com/redhat-openshift-ecosystem/openshift-preflight v0.0.0-20241021175030-e64988a27024 github.com/robert-nix/ansihtml v1.0.1 golang.org/x/term v0.26.0 - google.golang.org/api v0.207.0 + google.golang.org/api v0.209.0 k8s.io/kubectl v0.31.3 ) diff --git a/go.sum b/go.sum index db779c9fc..b6c5c9439 100644 --- a/go.sum +++ b/go.sum @@ -665,8 +665,8 @@ golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSm golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= gomodules.xyz/jsonpatch/v2 v2.4.0 h1:Ci3iUJyx9UeRx7CeFN8ARgGbkESwJK+KB9lLcWxY/Zw= gomodules.xyz/jsonpatch/v2 v2.4.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= -google.golang.org/api v0.207.0 h1:Fvt6IGCYjf7YLcQ+GCegeAI2QSQCfIWhRkmrMPj3JRM= -google.golang.org/api v0.207.0/go.mod h1:I53S168Yr/PNDNMi5yPnDc0/LGRZO6o7PoEbl/HY3CM= +google.golang.org/api v0.209.0 h1:Ja2OXNlyRlWCWu8o+GgI4yUn/wz9h/5ZfFbKz+dQX+w= +google.golang.org/api v0.209.0/go.mod h1:I53S168Yr/PNDNMi5yPnDc0/LGRZO6o7PoEbl/HY3CM= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= From a9338a405aab57d1c48d2146ad84f81bb81376a2 Mon Sep 17 00:00:00 2001 From: Gonzalo Reyero Ferreras <87083379+greyerof@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:05:43 +0100 Subject: [PATCH 07/10] Operand pods autodiscovery (#2577) * Operand pods autodiscovery This change adds an autodiscovery mechanism for operand pods that "belong" to CSVs/Operators under test. This is a separate and complementary way to the by-label/by-namespace already existing discovery modes. Usually, operands are deployed by operators by means of a CR. Ideally, operators designers should also flag that CR as owner of those operand pods that are deployed in the cluster. The autodiscovery mechanism for operand pods creates a list of CRDs owned by the CSVs under test. Then, it iterates over every pod found in the configured namespaces in order to get whether its owner is a CR of any of those CRD types. If so, it's added to the list of pods under test if it wasn't already there. * Fix: remove return that prevented follow other owners' refs. * Addressed David's comments. - Fixed typo - Used path.Join() --- pkg/autodiscover/autodiscover.go | 74 +++++++++++++++++++++++++++++- pkg/podhelper/podhelper.go | 79 +++++++++++++++++++++----------- pkg/podhelper/podhelper_test.go | 57 ++++++++++++++++++++--- pkg/provider/operators.go | 51 +++++++++++++++------ pkg/provider/pods.go | 1 + pkg/provider/provider.go | 13 +++++- 6 files changed, 225 insertions(+), 50 deletions(-) diff --git a/pkg/autodiscover/autodiscover.go b/pkg/autodiscover/autodiscover.go index 6d2a4a2ae..95d887fdc 100644 --- a/pkg/autodiscover/autodiscover.go +++ b/pkg/autodiscover/autodiscover.go @@ -20,6 +20,7 @@ import ( "context" "errors" "fmt" + "path" "regexp" "strings" "time" @@ -62,6 +63,7 @@ type DiscoveredTestData struct { AllPods []corev1.Pod ProbePods []corev1.Pod CSVToPodListMap map[types.NamespacedName][]*corev1.Pod + OperandPods []*corev1.Pod ResourceQuotaItems []corev1.ResourceQuota PodDisruptionBudgets []policyv1.PodDisruptionBudget NetworkPolicies []networkingv1.NetworkPolicy @@ -133,7 +135,7 @@ func createLabels(labelStrings []string) (labelObjects []labelObject) { // DoAutoDiscover finds objects under test // -//nolint:funlen +//nolint:funlen,gocyclo func DoAutoDiscover(config *configuration.TestConfiguration) DiscoveredTestData { oc := clientsholder.GetClientsHolder() @@ -198,6 +200,17 @@ func DoAutoDiscover(config *configuration.TestConfiguration) DiscoveredTestData log.Fatal("Failed to get the operator pods, err: %v", err) } + // Best effort mode autodiscovery for operand (running-only) pods. + pods, _ := findPodsByLabels(oc.K8sClient.CoreV1(), nil, data.Namespaces) + if err != nil { + log.Fatal("Failed to get running pods, err: %v", err) + } + + data.OperandPods, err = getOperandPodsFromTestCsvs(data.Csvs, pods) + if err != nil { + log.Fatal("Failed to get operand pods, err: %v", err) + } + openshiftVersion, err := getOpenshiftVersion(oc.OcpClient) if err != nil { log.Fatal("Failed to get the OpenShift version, err: %v", err) @@ -355,3 +368,62 @@ func getPodsOwnedByCsv(csvName, operatorNamespace string, client *clientsholder. } return managedPods, nil } + +// getOperandPodsFromTestCsvs returns a subset of pods whose owner CRs are managed by any of the testCsvs. +func getOperandPodsFromTestCsvs(testCsvs []*olmv1Alpha.ClusterServiceVersion, pods []corev1.Pod) ([]*corev1.Pod, error) { + // Helper var to store all the managed crds from the operators under test + // They map key is "Kind.group/version" or "Kind.APIversion", which should be the same. + // e.g.: "Subscription.operators.coreos.com/v1alpha1" + crds := map[string]*olmv1Alpha.ClusterServiceVersion{} + + // First, iterate on each testCsv to fill the helper crds map. + for _, csv := range testCsvs { + ownedCrds := csv.Spec.CustomResourceDefinitions.Owned + if len(ownedCrds) == 0 { + continue + } + + for i := range ownedCrds { + crd := &ownedCrds[i] + + _, group, found := strings.Cut(crd.Name, ".") + if !found { + return nil, fmt.Errorf("failed to parse resources and group from crd name %q", crd.Name) + } + + log.Info("CSV %q owns crd %v", csv.Name, crd.Kind+"/"+group+"/"+crd.Version) + + crdPath := path.Join(crd.Kind, group, crd.Version) + crds[crdPath] = csv + } + } + + // Now, iterate on every pod in the list to check whether they're owned by any of the CRs that + // the csvs are managing. + operandPods := []*corev1.Pod{} + for i := range pods { + pod := &pods[i] + owners, err := podhelper.GetPodTopOwner(pod.Namespace, pod.OwnerReferences) + if err != nil { + return nil, fmt.Errorf("failed to get top owners of pod %v/%v: %v", pod.Namespace, pod.Name, err) + } + + for _, owner := range owners { + versionedCrdPath := path.Join(owner.Kind, owner.APIVersion) + + var csv *olmv1Alpha.ClusterServiceVersion + if csv = crds[versionedCrdPath]; csv == nil { + // The owner is not a CR or it's not a CR owned by any operator under test + continue + } + + log.Info("Pod %v/%v has owner CR %s of CRD %q (CSV %v)", pod.Namespace, pod.Name, + owner.Name, versionedCrdPath, csv.Name) + + operandPods = append(operandPods, pod) + break + } + } + + return operandPods, nil +} diff --git a/pkg/podhelper/podhelper.go b/pkg/podhelper/podhelper.go index dd47dc3dd..85ff4f18e 100644 --- a/pkg/podhelper/podhelper.go +++ b/pkg/podhelper/podhelper.go @@ -3,9 +3,9 @@ package podhelper import ( "context" "fmt" - "strings" "github.com/redhat-best-practices-for-k8s/certsuite/internal/clientsholder" + k8serrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/dynamic" @@ -13,9 +13,10 @@ import ( // Structure to describe a top owner of a pod type TopOwner struct { - Kind string - Name string - Namespace string + APIVersion string + Kind string + Name string + Namespace string } // Get the list of top owners of pods @@ -23,7 +24,7 @@ func GetPodTopOwner(podNamespace string, podOwnerReferences []metav1.OwnerRefere topOwners = make(map[string]TopOwner) err = followOwnerReferences(clientsholder.GetClientsHolder().GroupResources, clientsholder.GetClientsHolder().DynamicClient, topOwners, podNamespace, podOwnerReferences) if err != nil { - return topOwners, fmt.Errorf("could not get top owners, err=%s", err) + return topOwners, fmt.Errorf("could not get top owners, err: %v", err) } return topOwners, nil } @@ -31,43 +32,67 @@ func GetPodTopOwner(podNamespace string, podOwnerReferences []metav1.OwnerRefere // Recursively follow the ownership tree to find the top owners func followOwnerReferences(resourceList []*metav1.APIResourceList, dynamicClient dynamic.Interface, topOwners map[string]TopOwner, namespace string, ownerRefs []metav1.OwnerReference) (err error) { for _, ownerRef := range ownerRefs { - // Get group resource version - gvr := getResourceSchema(resourceList, ownerRef.APIVersion, ownerRef.Kind) - // Get the owner resources - resource, err := dynamicClient.Resource(gvr).Namespace(namespace).Get(context.Background(), ownerRef.Name, metav1.GetOptions{}) + apiResource, err := searchAPIResource(ownerRef.Kind, ownerRef.APIVersion, resourceList) if err != nil { - return fmt.Errorf("could not get object indicated by owner references") + return fmt.Errorf("error searching APIResource for owner reference %v: %v", ownerRef, err) + } + + gv, err := schema.ParseGroupVersion(ownerRef.APIVersion) + if err != nil { + return fmt.Errorf("failed to parse apiVersion %q: %v", ownerRef.APIVersion, err) + } + + gvr := schema.GroupVersionResource{ + Group: gv.Group, + Version: gv.Version, + Resource: apiResource.Name, + } + + // If the owner reference is a non-namespaced resource (like Node), we need to change the namespace to empty string. + if !apiResource.Namespaced { + namespace = "" + } + + // Get the owner resource, but don't care if it's not found: it might happen for ocp jobs that are constantly + // spawned and removed after completion. + resource, err := dynamicClient.Resource(gvr).Namespace(namespace).Get(context.Background(), ownerRef.Name, metav1.GetOptions{}) + if err != nil && !k8serrors.IsNotFound(err) { + return fmt.Errorf("could not get object indicated by owner references %+v (gvr=%+v): %v", ownerRef, gvr, err) } + // Get owner references of the unstructured object ownerReferences := resource.GetOwnerReferences() // if no owner references, we have reached the top record it if len(ownerReferences) == 0 { - topOwners[ownerRef.Name] = TopOwner{Kind: ownerRef.Kind, Name: ownerRef.Name, Namespace: namespace} + topOwners[ownerRef.Name] = TopOwner{APIVersion: ownerRef.APIVersion, Kind: ownerRef.Kind, Name: ownerRef.Name, Namespace: namespace} + continue } - // if not continue following other branches + err = followOwnerReferences(resourceList, dynamicClient, topOwners, namespace, ownerReferences) if err != nil { - return fmt.Errorf("error following owners") + return err } } + return nil } -// Get the Group Version Resource based on APIVersion and kind -func getResourceSchema(resourceList []*metav1.APIResourceList, apiVersion, kind string) (gvr schema.GroupVersionResource) { - const groupVersionComponentsNumber = 2 - for _, gr := range resourceList { - for i := 0; i < len(gr.APIResources); i++ { - if gr.APIResources[i].Kind == kind && gr.GroupVersion == apiVersion { - groupSplit := strings.Split(gr.GroupVersion, "/") - if len(groupSplit) == groupVersionComponentsNumber { - gvr.Group = groupSplit[0] - gvr.Version = groupSplit[1] - gvr.Resource = gr.APIResources[i].Name - } - return gvr +// searchAPIResource is a helper func that returns the metav1.APIResource pointer of the resource by kind and apiVersion. +// from a metav1.APIResourceList. +func searchAPIResource(kind, apiVersion string, apis []*metav1.APIResourceList) (*metav1.APIResource, error) { + for _, api := range apis { + if api.GroupVersion != apiVersion { + continue + } + + for i := range api.APIResources { + apiResource := &api.APIResources[i] + + if kind == apiResource.Kind { + return apiResource, nil } } } - return gvr + + return nil, fmt.Errorf("apiResource not found for kind=%v and APIVersion=%v", kind, apiVersion) } diff --git a/pkg/podhelper/podhelper_test.go b/pkg/podhelper/podhelper_test.go index b9ee6ef76..0d4ccaa0a 100644 --- a/pkg/podhelper/podhelper_test.go +++ b/pkg/podhelper/podhelper_test.go @@ -9,8 +9,10 @@ import ( "k8s.io/apimachinery/pkg/runtime" appsv1 "k8s.io/api/apps/v1" + corev1 "k8s.io/api/core/v1" k8sDynamicFake "k8s.io/client-go/dynamic/fake" + k8sscheme "k8s.io/client-go/kubernetes/scheme" k8stesting "k8s.io/client-go/testing" ) @@ -46,11 +48,29 @@ func Test_followOwnerReferences(t *testing.T) { }, } + node1 := &corev1.Node{ + TypeMeta: metav1.TypeMeta{Kind: "Node", APIVersion: "v1"}, + ObjectMeta: metav1.ObjectMeta{ + Name: "node1", + }, + } + + pod1 := &corev1.Pod{ + TypeMeta: metav1.TypeMeta{Kind: "Pod", APIVersion: "v1"}, + ObjectMeta: metav1.ObjectMeta{ + Name: "pod1", + Namespace: "ns1", + OwnerReferences: []metav1.OwnerReference{{APIVersion: "v1", Kind: "Node", Name: "node1"}}, + }, + } + resourceList := []*metav1.APIResourceList{ - {GroupVersion: "operators.coreos.com/v1alpha1", APIResources: []metav1.APIResource{{Name: "clusterserviceversions", Kind: "ClusterServiceVersion"}}}, - {GroupVersion: "apps/v1", APIResources: []metav1.APIResource{{Name: "deployments", Kind: "Deployment"}}}, - {GroupVersion: "apps/v1", APIResources: []metav1.APIResource{{Name: "replicasets", Kind: "ReplicaSet"}}}, - {GroupVersion: "apps/v1", APIResources: []metav1.APIResource{{Name: "pods", Kind: "Pod"}}}, + {GroupVersion: "operators.coreos.com/v1alpha1", APIResources: []metav1.APIResource{{Name: "clusterserviceversions", Kind: "ClusterServiceVersion", Namespaced: true}}}, + {GroupVersion: "apps/v1", APIResources: []metav1.APIResource{{Name: "deployments", Kind: "Deployment", Namespaced: true}}}, + {GroupVersion: "apps/v1", APIResources: []metav1.APIResource{{Name: "replicasets", Kind: "ReplicaSet", Namespaced: true}}}, + {GroupVersion: "apps/v1", APIResources: []metav1.APIResource{{Name: "pods", Kind: "Pod", Namespaced: true}}}, + {GroupVersion: "v1", APIResources: []metav1.APIResource{{Name: "nodes", Kind: "Node", Namespaced: false}}}, + {GroupVersion: "v1", APIResources: []metav1.APIResource{{Name: "pods", Kind: "Pod", Namespaced: true}}}, } tests := []struct { @@ -60,15 +80,31 @@ func Test_followOwnerReferences(t *testing.T) { }{ { name: "test1", - args: args{topOwners: map[string]TopOwner{"csv1": {Namespace: "ns1", Kind: "ClusterServiceVersion", Name: "csv1"}}, + args: args{topOwners: map[string]TopOwner{"csv1": {APIVersion: "operators.coreos.com/v1alpha1", Namespace: "ns1", Kind: "ClusterServiceVersion", Name: "csv1"}}, namespace: "ns1", ownerRefs: []metav1.OwnerReference{{APIVersion: "apps/v1", Kind: "ReplicaSet", Name: "rep1"}}, }, }, + { + name: "test2 - non-namespaced owner: pod owned a node", + args: args{topOwners: map[string]TopOwner{"node1": {APIVersion: "v1", Namespace: "", Kind: "Node", Name: "node1"}}, + namespace: "ns1", + ownerRefs: []metav1.OwnerReference{{APIVersion: "v1", Kind: "Pod", Name: "pod1"}}, + }, + }, + } + + scheme := runtime.NewScheme() + // Add native resources to the scheme, otherwise, resources of APIVersion "v1" (not "core/v1") won't be found as unstructured resource in the type to GKV map here: + // https://github.com/kubernetes/apimachinery/blob/96b97de8d6ba49bc192968551f2120ef3881f42d/pkg/runtime/scheme.go#L263 + err := k8sscheme.AddToScheme(scheme) + if err != nil { + t.Errorf("failed to ad k8s resources to scheme: %v", err) } - // Spoof the get and update functions - client := k8sDynamicFake.NewSimpleDynamicClient(runtime.NewScheme(), rep1, dep1, csv1) + client := k8sDynamicFake.NewSimpleDynamicClient(scheme, rep1, dep1, csv1, node1, pod1) + + // Spoof the get functions client.Fake.AddReactor("get", "ClusterServiceVersion", func(action k8stesting.Action) (handled bool, ret runtime.Object, err error) { return true, csv1, nil }) @@ -78,6 +114,13 @@ func Test_followOwnerReferences(t *testing.T) { client.Fake.AddReactor("get", "ReplicaSet", func(action k8stesting.Action) (handled bool, ret runtime.Object, err error) { return true, rep1, nil }) + client.Fake.AddReactor("get", "Node", func(action k8stesting.Action) (handled bool, ret runtime.Object, err error) { + return true, node1, nil + }) + client.Fake.AddReactor("get", "Pod", func(action k8stesting.Action) (handled bool, ret runtime.Object, err error) { + return true, pod1, nil + }) + for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { gotResults := map[string]TopOwner{} diff --git a/pkg/provider/operators.go b/pkg/provider/operators.go index 3ac2072e5..b105d0ea2 100644 --- a/pkg/provider/operators.go +++ b/pkg/provider/operators.go @@ -55,7 +55,8 @@ type Operator struct { Version string `yaml:"version" json:"version"` Channel string `yaml:"channel" json:"channel"` PackageFromCsvName string `yaml:"packagefromcsvname" json:"packagefromcsvname"` - PreflightResults PreflightResultsDB + PreflightResults PreflightResultsDB `yaml:"operandPods" json:"operandPods"` + OperandPods map[string]*Pod } type CsvInstallPlan struct { @@ -365,28 +366,50 @@ func GetAllOperatorGroups() ([]*olmv1.OperatorGroup, error) { return operatorGroups, nil } -func addOperatorPodsToTestPods(operatorPods []*Pod, env *TestEnvironment) { +func searchPodInSlice(name, namespace string, pods []*Pod) *Pod { // Helper map to filter pods that have been already added - testPodsMap := map[types.NamespacedName]*Pod{} - for _, testPod := range env.Pods { - testPodsMap[types.NamespacedName{Namespace: testPod.Namespace, Name: testPod.Name}] = testPod + podsMap := map[types.NamespacedName]*Pod{} + for _, testPod := range pods { + podsMap[types.NamespacedName{Namespace: testPod.Namespace, Name: testPod.Name}] = testPod } - // Now check that the operator pod doesn't exist yet. If it exists, make sure it's flagged as operator pod. - for _, operatorPod := range operatorPods { - operatorPodKey := types.NamespacedName{Namespace: operatorPod.Namespace, Name: operatorPod.Name} - if pod, found := testPodsMap[operatorPodKey]; found { - log.Info("Operator pod %v already discovered.", operatorPodKey) + // Search by namespace+name key + podKey := types.NamespacedName{Namespace: namespace, Name: name} + if pod, found := podsMap[podKey]; found { + return pod + } + return nil +} + +func addOperatorPodsToTestPods(operatorPods []*Pod, env *TestEnvironment) { + for _, operatorPod := range operatorPods { + // Check whether the pod was already discovered + testPod := searchPodInSlice(operatorPod.Name, operatorPod.Namespace, env.Pods) + if testPod != nil { + log.Info("Operator pod %v/%v already discovered.", testPod.Namespace, testPod.Name) // Make sure it's flagged as operator pod. - pod.IsOperator = true + testPod.IsOperator = true } else { - log.Info("Operator pod %v added to test pod list", operatorPodKey) + log.Info("Operator pod %v/%v added to test pod list", operatorPod.Namespace, operatorPod.Name) // Append pod to the test pod list. env.Pods = append(env.Pods, operatorPod) + } + } +} - // Update the helper map. - testPodsMap[operatorPodKey] = operatorPod +func addOperandPodsToTestPods(operandPods []*Pod, env *TestEnvironment) { + for _, operandPod := range operandPods { + // Check whether the pod was already discovered + testPod := searchPodInSlice(operandPod.Name, operandPod.Namespace, env.Pods) + if testPod != nil { + log.Info("Operand pod %v/%v already discovered.", testPod.Namespace, testPod.Name) + // Make sure it's flagged as operand pod. + testPod.IsOperand = true + } else { + log.Info("Operand pod %v/%v added to test pod list", operandPod.Namespace, operandPod.Name) + // Append pod to the test pod list. + env.Pods = append(env.Pods, operandPod) } } } diff --git a/pkg/provider/pods.go b/pkg/provider/pods.go index 42cd1bfc9..87316c70d 100644 --- a/pkg/provider/pods.go +++ b/pkg/provider/pods.go @@ -49,6 +49,7 @@ type Pod struct { SkipNetTests bool SkipMultusNetTests bool IsOperator bool + IsOperand bool } func NewPod(aPod *corev1.Pod) (out Pod) { diff --git a/pkg/provider/provider.go b/pkg/provider/provider.go index 999930b10..39b07475f 100644 --- a/pkg/provider/provider.go +++ b/pkg/provider/provider.go @@ -211,7 +211,7 @@ func deployDaemonSet(namespace string) error { return nil } -func buildTestEnvironment() { //nolint:funlen +func buildTestEnvironment() { //nolint:funlen,gocyclo start := time.Now() env = TestEnvironment{} @@ -299,6 +299,16 @@ func buildTestEnvironment() { //nolint:funlen // Add operator pods to list of normal pods to test. addOperatorPodsToTestPods(csvPods, &env) + // Best effort mode autodiscovery for operand pods. + operandPods := []*Pod{} + for _, pod := range data.OperandPods { + aNewPod := NewPod(pod) + aNewPod.AllServiceAccountsMap = &env.AllServiceAccountsMap + aNewPod.IsOperand = true + operandPods = append(operandPods, &aNewPod) + } + + addOperandPodsToTestPods(operandPods, &env) // Add operator pods' containers to the list. for _, pod := range env.Pods { // Note: 'getPodContainers' is returning a filtered list of Container objects. @@ -362,6 +372,7 @@ func buildTestEnvironment() { //nolint:funlen log.Warn("Pod %q has been deployed using a DeploymentConfig, please use Deployment or StatefulSet instead.", pod.String()) } } + log.Info("Completed the test environment build process in %.2f seconds", time.Since(start).Seconds()) } From ca8a98cd5ad4b9126061743167ce913d498bec5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 13:15:14 -0600 Subject: [PATCH 08/10] Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#2590) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 17e4682ff..cb49849b6 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/redhat-best-practices-for-k8s/certsuite-claim v1.0.50 github.com/sirupsen/logrus v1.9.3 // indirect github.com/spf13/cobra v1.8.1 - github.com/stretchr/testify v1.9.0 + github.com/stretchr/testify v1.10.0 github.com/xeipuuv/gojsonschema v1.2.0 // indirect gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index b6c5c9439..7c2e416df 100644 --- a/go.sum +++ b/go.sum @@ -511,8 +511,9 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 h1:kdXcSzyDtseVEc4yCz2qF8ZrQvIDBJLl4S1c3GCXmoI= From e947642bae627031d698f3ad98e0d511ab82fc8c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:01:32 -0600 Subject: [PATCH 09/10] Bump github.com/redhat-best-practices-for-k8s/oct from 0.0.27 to 0.0.28 (#2591) Bumps [github.com/redhat-best-practices-for-k8s/oct](https://github.com/redhat-best-practices-for-k8s/oct) from 0.0.27 to 0.0.28. - [Release notes](https://github.com/redhat-best-practices-for-k8s/oct/releases) - [Commits](https://github.com/redhat-best-practices-for-k8s/oct/compare/v0.0.27...v0.0.28) --- updated-dependencies: - dependency-name: github.com/redhat-best-practices-for-k8s/oct dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index cb49849b6..c2a5b7e67 100644 --- a/go.mod +++ b/go.mod @@ -226,7 +226,7 @@ require ( github.com/gorilla/websocket v1.5.3 github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.7.5 github.com/manifoldco/promptui v0.9.0 - github.com/redhat-best-practices-for-k8s/oct v0.0.27 + github.com/redhat-best-practices-for-k8s/oct v0.0.28 github.com/redhat-best-practices-for-k8s/privileged-daemonset v1.0.39 github.com/redhat-openshift-ecosystem/openshift-preflight v0.0.0-20241021175030-e64988a27024 github.com/robert-nix/ansihtml v1.0.1 diff --git a/go.sum b/go.sum index 7c2e416df..ba7af5443 100644 --- a/go.sum +++ b/go.sum @@ -444,8 +444,8 @@ github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0leargg github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/redhat-best-practices-for-k8s/certsuite-claim v1.0.50 h1:I5h0QManS/gIqu+ontECO7wl7YRNynITdu2ox55aHmQ= github.com/redhat-best-practices-for-k8s/certsuite-claim v1.0.50/go.mod h1:MEPl9mYANLNgdd7KKpW6rRXmUK1pXtbWmG2eVaKmBKM= -github.com/redhat-best-practices-for-k8s/oct v0.0.27 h1:7iJ1475uhyxjhStR4riCQisG/LzUhKktMKdwaaGzBQo= -github.com/redhat-best-practices-for-k8s/oct v0.0.27/go.mod h1:ilJ7CTkImZOhT0WW5jbqxYighVRBPpLxcxcuc5Fd/ZU= +github.com/redhat-best-practices-for-k8s/oct v0.0.28 h1:jsVQ8zNY4HP0a+N5LpW445Y3phklZ4PGtlU1pZQ0Wic= +github.com/redhat-best-practices-for-k8s/oct v0.0.28/go.mod h1:TnyopIPwdsaI7gikOi7WmT9/lgzd1Lp6DZaN6nMJhBA= github.com/redhat-best-practices-for-k8s/privileged-daemonset v1.0.39 h1:fdifQZFjx5NIiD/8pt94ELeTPUXy7s/KYwJC8wzgqns= github.com/redhat-best-practices-for-k8s/privileged-daemonset v1.0.39/go.mod h1:Xvn/SQLaro2vpiVut0e1epYr/SrUsw5VBueIZcb2dcM= github.com/redhat-openshift-ecosystem/openshift-preflight v0.0.0-20241021175030-e64988a27024 h1:qPsNS6SIDigSwcUMUrEdDovIAdbVCNOGvhir8p6wVNc= From 7b70188c27da62f6f939e88421492666d76c81a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:44:54 -0600 Subject: [PATCH 10/10] Bump github.com/redhat-best-practices-for-k8s/privileged-daemonset (#2592) Bumps [github.com/redhat-best-practices-for-k8s/privileged-daemonset](https://github.com/redhat-best-practices-for-k8s/privileged-daemonset) from 1.0.39 to 1.0.40. - [Release notes](https://github.com/redhat-best-practices-for-k8s/privileged-daemonset/releases) - [Commits](https://github.com/redhat-best-practices-for-k8s/privileged-daemonset/compare/v1.0.39...v1.0.40) --- updated-dependencies: - dependency-name: github.com/redhat-best-practices-for-k8s/privileged-daemonset dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index c2a5b7e67..209ecba53 100644 --- a/go.mod +++ b/go.mod @@ -227,7 +227,7 @@ require ( github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.7.5 github.com/manifoldco/promptui v0.9.0 github.com/redhat-best-practices-for-k8s/oct v0.0.28 - github.com/redhat-best-practices-for-k8s/privileged-daemonset v1.0.39 + github.com/redhat-best-practices-for-k8s/privileged-daemonset v1.0.40 github.com/redhat-openshift-ecosystem/openshift-preflight v0.0.0-20241021175030-e64988a27024 github.com/robert-nix/ansihtml v1.0.1 golang.org/x/term v0.26.0 diff --git a/go.sum b/go.sum index ba7af5443..e7d2e0653 100644 --- a/go.sum +++ b/go.sum @@ -446,8 +446,8 @@ github.com/redhat-best-practices-for-k8s/certsuite-claim v1.0.50 h1:I5h0QManS/gI github.com/redhat-best-practices-for-k8s/certsuite-claim v1.0.50/go.mod h1:MEPl9mYANLNgdd7KKpW6rRXmUK1pXtbWmG2eVaKmBKM= github.com/redhat-best-practices-for-k8s/oct v0.0.28 h1:jsVQ8zNY4HP0a+N5LpW445Y3phklZ4PGtlU1pZQ0Wic= github.com/redhat-best-practices-for-k8s/oct v0.0.28/go.mod h1:TnyopIPwdsaI7gikOi7WmT9/lgzd1Lp6DZaN6nMJhBA= -github.com/redhat-best-practices-for-k8s/privileged-daemonset v1.0.39 h1:fdifQZFjx5NIiD/8pt94ELeTPUXy7s/KYwJC8wzgqns= -github.com/redhat-best-practices-for-k8s/privileged-daemonset v1.0.39/go.mod h1:Xvn/SQLaro2vpiVut0e1epYr/SrUsw5VBueIZcb2dcM= +github.com/redhat-best-practices-for-k8s/privileged-daemonset v1.0.40 h1:imtI6P0XZSeaGbMd81Dg6QpsJrtUPobAlHhvwEyGouU= +github.com/redhat-best-practices-for-k8s/privileged-daemonset v1.0.40/go.mod h1:ZVOdgHN8bR8bRFQytKgyDa+26AUa96wcnjsnJ6RYnzQ= github.com/redhat-openshift-ecosystem/openshift-preflight v0.0.0-20241021175030-e64988a27024 h1:qPsNS6SIDigSwcUMUrEdDovIAdbVCNOGvhir8p6wVNc= github.com/redhat-openshift-ecosystem/openshift-preflight v0.0.0-20241021175030-e64988a27024/go.mod h1:WgrOUZnQYsTQetJwbMHkcNecYaOcWMmTVDmDOTTIMcQ= github.com/redis/go-redis/extra/rediscmd/v9 v9.0.5 h1:EaDatTxkdHG+U3Bk4EUr+DZ7fOGwTfezUiUJMaIcaho=