diff --git a/.github/workflows/main-promote-builder-image.yml b/.github/workflows/main-promote-builder-image.yml index 2254207d2..b0fead270 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 credentials: username: ${{ github.actor }} password: ${{ secrets.github_token }} diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index 302813a80..bac4259d0 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 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..8af4fa8b4 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 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"