Skip to content

Commit

Permalink
Bump github.com/operator-framework/operator-controller from 0.13.0 to…
Browse files Browse the repository at this point in the history
… 0.14.0 (#204)

* Bump github.com/operator-framework/operator-controller

Bumps [github.com/operator-framework/operator-controller](https://github.com/operator-framework/operator-controller) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/operator-framework/operator-controller/releases)
- [Changelog](https://github.com/operator-framework/operator-controller/blob/main/RELEASE.md)
- [Commits](operator-framework/operator-controller@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: github.com/operator-framework/operator-controller
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update to new ClusterExtension spec

Signed-off-by: Per Goncalves da Silva <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Per Goncalves da Silva <[email protected]>
  • Loading branch information
dependabot[bot] and Per Goncalves da Silva authored Aug 30, 2024
1 parent 551bd4a commit 536fde5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/onsi/gomega v1.34.2
github.com/opencontainers/image-spec v1.1.0
github.com/operator-framework/api v0.27.0
github.com/operator-framework/operator-controller v0.13.0
github.com/operator-framework/operator-controller v0.14.0
github.com/operator-framework/operator-lifecycle-manager v0.23.1
github.com/operator-framework/operator-registry v1.46.0
github.com/sirupsen/logrus v1.9.3
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W
github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk=
github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
github.com/onsi/ginkgo/v2 v2.20.1 h1:YlVIbqct+ZmnEph770q9Q7NVAz4wwIiVNahee6JyUzo=
github.com/onsi/ginkgo/v2 v2.20.1/go.mod h1:lG9ey2Z29hR41WMVthyJBGUBcBhGOtoPF2VFMvBXFCI=
github.com/onsi/ginkgo/v2 v2.20.2 h1:7NVCeyIWROIAheY21RLS+3j2bb52W0W82tkberYytp4=
github.com/onsi/ginkgo/v2 v2.20.2/go.mod h1:K9gyxPIlb+aIvnZ8bd9Ak+YP18w3APlR+5coaZoE2ag=
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/onsi/gomega v1.34.2 h1:pNCwDkzrsv7MS9kpaQvVb1aVLahQXyJ/Tv5oAZMI3i8=
Expand All @@ -240,8 +240,8 @@ github.com/opencontainers/runtime-spec v1.2.0 h1:z97+pHb3uELt/yiAWD691HNHQIF07bE
github.com/opencontainers/runtime-spec v1.2.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
github.com/operator-framework/api v0.27.0 h1:OrVaGKZJvbZo58HTv2guz7aURkhVKYhFqZ/6VpifiXI=
github.com/operator-framework/api v0.27.0/go.mod h1:lg2Xx+S8NQWGYlEOvFwQvH46E5EK5IrAIL7HWfAhciM=
github.com/operator-framework/operator-controller v0.13.0 h1:usQ96UUwMuL5z6fRMoB3Zul9uIsqI+VHhhpHMbTB/x0=
github.com/operator-framework/operator-controller v0.13.0/go.mod h1:0rvk+YPDa33jv9FPWTkFocEz7boOEDVEWToNUFUA5fA=
github.com/operator-framework/operator-controller v0.14.0 h1:HhrFrQ+GLtMR8vWfq3NSDBQ+1yXAEJbKTcdRL1uNQDA=
github.com/operator-framework/operator-controller v0.14.0/go.mod h1:C6ESox2MlreVhLoS50PfcikFSRzs3gy8vBWv3f2fFUQ=
github.com/operator-framework/operator-lifecycle-manager v0.23.1 h1:Xw2ml1T4W2ieoFaVwanW/eFlZ11yAOJZUpUI8RLSql8=
github.com/operator-framework/operator-lifecycle-manager v0.23.1/go.mod h1:q/QgVi/WooEyOFw8ipQrb2A/InjM4djCwPf7IlCpSOQ=
github.com/operator-framework/operator-registry v1.46.0 h1:t10Ej4QHsHhHswsJ/MO1WAc7LW91wb1nMCrnD6+sRV0=
Expand All @@ -255,8 +255,8 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_golang v1.20.2 h1:5ctymQzZlyOON1666svgwn3s6IKWgfbjsejTMiXIyjg=
github.com/prometheus/client_golang v1.20.2/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
Expand Down
9 changes: 8 additions & 1 deletion internal/pkg/experimental/action/operator_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ func (i *OperatorInstall) Run(ctx context.Context) (*olmv1.ClusterExtension, err
opKey := types.NamespacedName{Name: i.Package}
op := &olmv1.ClusterExtension{
ObjectMeta: metav1.ObjectMeta{Name: opKey.Name},
Spec: olmv1.ClusterExtensionSpec{PackageName: i.Package},
Spec: olmv1.ClusterExtensionSpec{
Source: olmv1.SourceConfig{
SourceType: "Catalog",
Catalog: &olmv1.CatalogSource{
PackageName: i.Package,
},
},
},
}
if err := i.config.Client.Create(ctx, op); err != nil {
return nil, err
Expand Down

0 comments on commit 536fde5

Please sign in to comment.