From a8d2b74d224f685ce1befced7f0ee1b701209d75 Mon Sep 17 00:00:00 2001 From: "cluster-stack-bot[bot]" <143188378+cluster-stack-bot[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 20:06:33 +0000 Subject: [PATCH] :seedling: Update Golang Dependencies group to v3.0.1 | datasource | package | from | to | | ---------- | ---------------- | ------ | ------ | | go | gopkg.in/yaml.v2 | v2.4.0 | v3.0.1 | --- .github/workflows/main-promote-builder-image.yml | 2 +- .github/workflows/pr-lint.yml | 2 +- .github/workflows/schedule-scan-image.yml | 2 +- go.mod | 2 +- internal/controller/clusteraddon_controller.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main-promote-builder-image.yml b/.github/workflows/main-promote-builder-image.yml index 2254207d2..831d7484a 100644 --- a/.github/workflows/main-promote-builder-image.yml +++ b/.github/workflows/main-promote-builder-image.yml @@ -10,7 +10,7 @@ jobs: name: Promote Latest tag to cso Builder Image runs-on: ubuntu-latest container: - image: ghcr.io/sovereigncloudstack/cso-builder:1.0.0 + image: ghcr.io/sovereigncloudstack/cso-builder:1.0.1 credentials: username: ${{ github.actor }} password: ${{ secrets.github_token }} diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index 302813a80..4f2cffb15 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -21,7 +21,7 @@ jobs: if: github.event_name != 'pull_request' || !github.event.pull_request.draft runs-on: ubuntu-latest container: - image: ghcr.io/sovereigncloudstack/cso-builder:1.0.0 + image: ghcr.io/sovereigncloudstack/cso-builder:1.0.1 credentials: username: ${{ github.actor }} password: ${{ secrets.github_token }} diff --git a/.github/workflows/schedule-scan-image.yml b/.github/workflows/schedule-scan-image.yml index cc3ff799b..c45c5648f 100644 --- a/.github/workflows/schedule-scan-image.yml +++ b/.github/workflows/schedule-scan-image.yml @@ -9,7 +9,7 @@ jobs: name: Trivy runs-on: ubuntu-latest container: - image: ghcr.io/sovereigncloudstack/cso-builder:1.0.0 + image: ghcr.io/sovereigncloudstack/cso-builder:1.0.1 credentials: username: ${{ github.actor }} password: ${{ secrets.github_token }} diff --git a/go.mod b/go.mod index cf560ee0d..287d1108c 100644 --- a/go.mod +++ b/go.mod @@ -34,6 +34,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/stretchr/objx v0.5.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect k8s.io/cluster-bootstrap v0.27.2 // indirect ) @@ -95,7 +96,6 @@ require ( google.golang.org/appengine v1.6.7 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.1 k8s.io/apiextensions-apiserver v0.27.2 k8s.io/apiserver v0.27.2 // indirect diff --git a/internal/controller/clusteraddon_controller.go b/internal/controller/clusteraddon_controller.go index b9acd9a99..e6ccde507 100644 --- a/internal/controller/clusteraddon_controller.go +++ b/internal/controller/clusteraddon_controller.go @@ -31,7 +31,7 @@ import ( "github.com/SovereignCloudStack/cluster-stack-operator/pkg/release" "github.com/SovereignCloudStack/cluster-stack-operator/pkg/workloadcluster" sprig "github.com/go-task/slim-sprig" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/types"