-
Notifications
You must be signed in to change notification settings - Fork 65
Cross-component E2E for operator framework #286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross-component E2E for operator framework #286
Conversation
Codecov Report
@@ Coverage Diff @@
## main #286 +/- ##
=======================================
Coverage 82.84% 82.84%
=======================================
Files 21 21
Lines 892 892
=======================================
Hits 739 739
Misses 107 107
Partials 46 46
Flags with carried forward coverage won't be shown. Click here to find out more. |
6a5266d
to
d57d09e
Compare
b39378b
to
60dde4f
Compare
|
||
By("Verifying the operator doesn't exist") | ||
Eventually(func(g Gomega) { | ||
err = checkOperatorDeleted(catalogDInfo.operatorName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the func name checkOperatorDeleted(...)
, it might make more sense for it to return a bool and do something like return err != nil && errors.IsNotFound(err)
inside of the func, which would also simplify the checks here a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Err
is returned, so that the reason for the failure of the test case would be shown if the assertion fails. This is the case for the other functions starting with check
as well. So wouldn't it be better to change the name to validateOperatorDeletion
instead of returning a bool ?
Firstly, this looks great! It's awesome to have that full coast-to-coast test that starts from scratch that we've been talking about. I looks like we cover the following steps (correct me if I'm wrong):
What I'm really interested in is which of these steps is more difficult than one or two shell commands, because that is where I think we should focus our efforts on UX to make things easier for our users. It might be nice to organize the test such that each of these steps is a function. If the function calls a single shell command that calls one of our tools, that's the ideal. If the function is a bunch of go code, that likely means that we have a tooling gap. |
a84335f
to
87fa9b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is super useful. I left a few comments/suggestions.
Most of them are minor. Major themes are:
- I didn't manage to run it locally: macos uses port 5000 + something is up with pushing images to the local registry
- If I understnad correctly,
It
specs depend on each other and it might be an issue when ran out of expected order. - There is quite a lot of code duplication in
test/operator-framework-e2e/operator_framework_test.go
. I'm wondering if we can reduce it.
opm: $(OPM) | ||
$(OPM) $(OPM_ARGS) | ||
|
||
operator-sdk: $(OPERATOR_SDK) | ||
(cd $(OPERATOR_SDK_PROJECT_PATH) && $(OPERATOR_SDK) $(OPERATOR_SDK_ARGS)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I'm missing something - we do not use these two targets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah... I see - we use them in tests. This is not obvous and I think deserves a comment.
However in my opinion E2E tests should not be calling make
to install opm
and operator-sdk
binaries. I think it is not critical for now, but we need to create an issue for this (unless there are objections to the idea below).
I think we need to change tests so that it:
- Either has
opm
andoperator-sdk
inPATH
and simply runs it likeexec.Command("opm", ...)
- Or receives a path to
opm
and friends via arguments/env vars or somehow else.
This way we can run a matrix for our tests and use different versions of opm
and operator-sdk
.
Also it will make test code a bit cleaner (but would require some more test setup code instead).
type Object struct { | ||
Kind string `yaml:"kind"` | ||
APIVersion string `yaml:"apiVersion"` | ||
Metadata struct { | ||
Name string `yaml:"name"` | ||
} `yaml:"metadata"` | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you are looking for something like k8s.io/apimachinery/pkg/runtime/serializer
. Here is an example usage in our project:
operator-controller/cmd/resolutioncli/input_manifests.go
Lines 44 to 45 in fa84c73
decoder := codecs.UniversalDecoder(scheme.PrioritizedVersionsAllGroups()...) | |
object, _, err := decoder.Decode(fileContent, nil, nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the code using the universal decoder. However, in cases where a single file contains multiple YAML documents separated by ---
, the universal decoder recognizes only the first resource. This situation is relevant as for plain+v0
bundle generated through kustomize
, the manifest has multiple YAML documents are combined into one file using ---
separators. Is there a decoder solution that can effectively handle scenarios involving multiple YAML documents within a single file? This is now handled by splitting the content of the YAML file and decoding each of them using the universal decoder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point!
I think YAMLToJSONDecoder
from k8s.io/apimachinery/pkg/util/yaml
should do the trick.
I think you should be able to get kind, api version and name if you decode into Unstructured
from k8s.io/apimachinery/pkg/apis/meta/v1/unstructured
.
cmd.Stderr = w | ||
cmd.Stdout = w | ||
if err := cmd.Run(); err != nil { | ||
return fmt.Errorf("Error pushing Docker container image: %s to the registry: %v", tag, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm gettign this error:
Error pushing Docker container image: localhost:5001/plain-catalog:test to the registry: exit status 125
I use podman
with an alias from docker
to podman
.
I changed the local port from 5000 to 5001 due to issue with control center on macos mentioned above, but still fails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test ran successfully on my macos. So I guess I am missing out something here. A local registry was used over the container registry quay.io
for improved performance. What could be an ideal solution for the issue with the port?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm on version Ventura 13.4.1 right now. It looks like it started listening on port 5000 starting from Monterey.
What could be an ideal solution for the issue with the port?
I would change the localhost port to something else other than 5000. For example, kind suggests using port 5001. And it looks like kind changed from 5000 to 5001 precisely due to this reason:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the port to use 5001 on the host. But the port 5001 on the host maps to port 5000 on the container. This is because, the docker container uses the image registry:2
which listens on port 5000. This works for me. I am on version Ventura 13.4. Could you please confirm if the error is now resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the port 5001 on the host maps to port 5000 on the container.
@jubittajohn that's good. This is what we want. I just quickly chekced - registry is running fine now, but I'm still getting an error on an attempt to push the image:
[FAILED] in [It] - /Users/mradchuk/workspace/src/github.com/operator-framework/operator-controller/test/operator-framework-e2e/operator_framework_test.go:318 @ 08/09/23 10:13:38.056
<< Timeline
[FAILED] Unexpected error:
<*errors.errorString | 0x1400014f4f0>:
Error pushing bundle image localhost:5001/registry-operator-bundle:v0.1.0 with tag 0.1.0 : make[1]: Entering directory '/Users/mradchuk/workspace/src/github.com/operator-framework/operator-controller/test/operator-framework-e2e/registry-operator'
make docker-push IMG=localhost:5001/registry-operator-bundle:v0.1.0
make[2]: Entering directory '/Users/mradchuk/workspace/src/github.com/operator-framework/operator-controller/test/operator-framework-e2e/registry-operator'
docker push localhost:5001/registry-operator-bundle:v0.1.0
Getting image source signatures
Copying blob sha256:dea1f3bba92bc840b14e6ae4e75f6d1538be9c7d11b13e27dadb691cd16c6a04
Copying blob sha256:b6d433180825c5881b9565b9cbff353bace1926fe429c2cc4c67b75b203c8706
Copying blob sha256:7e13d0a7484e3297efc0eb92610081b75a115f7a24b2ffde5e25bde7f6619634
Error: trying to reuse blob sha256:b6d433180825c5881b9565b9cbff353bace1926fe429c2cc4c67b75b203c8706 at destination: pinging container registry localhost:5001: Get "https://localhost:5001/v2/": http: server gave HTTP response to HTTPS client
make[2]: *** [Makefile:131: docker-push] Error 125
make[2]: Leaving directory '/Users/mradchuk/workspace/src/github.com/operator-framework/operator-controller/test/operator-framework-e2e/registry-operator'
make[1]: *** [Makefile:240: bundle-push] Error 2
make[1]: Leaving directory '/Users/mradchuk/workspace/src/github.com/operator-framework/operator-controller/test/operator-framework-e2e/registry-operator'
: exit status 2
{
s: "Error pushing bundle image localhost:5001/registry-operator-bundle:v0.1.0 with tag 0.1.0 : make[1]: Entering directory '/Users/mradchuk/workspace/src/github.com/operator-framework/operator-controller/test/operator-framework-e2e/registry-operator'\nmake docker-push IMG=localhost:5001/registry-operator-bundle:v0.1.0\nmake[2]: Entering directory '/Users/mradchuk/workspace/src/github.com/operator-framework/operator-controller/test/operator-framework-e2e/registry-operator'\ndocker push localhost:5001/registry-operator-bundle:v0.1.0\nGetting image source signatures\nCopying blob sha256:dea1f3bba92bc840b14e6ae4e75f6d1538be9c7d11b13e27dadb691cd16c6a04\nCopying blob sha256:b6d433180825c5881b9565b9cbff353bace1926fe429c2cc4c67b75b203c8706\nCopying blob sha256:7e13d0a7484e3297efc0eb92610081b75a115f7a24b2ffde5e25bde7f6619634\nError: trying to reuse blob sha256:b6d433180825c5881b9565b9cbff353bace1926fe429c2cc4c67b75b203c8706 at destination: pinging container registry localhost:5001: Get \"https://localhost:5001/v2/\": http: server gave HTTP response to HTTPS client\nmake[2]: *** [Makefile:131: docker-push] Error 125\nmake[2]: Leaving directory '/Users/mradchuk/workspace/src/github.com/operator-framework/operator-controller/test/operator-framework-e2e/registry-operator'\nmake[1]: *** [Makefile:240: bundle-push] Error 2\nmake[1]: Leaving directory '/Users/mradchuk/workspace/src/github.com/operator-framework/operator-controller/test/operator-framework-e2e/registry-operator'\n: exit status 2",
}
occurred
In [It] at: /Users/mradchuk/workspace/src/github.com/operator-framework/operator-controller/test/operator-framework-e2e/operator_framework_test.go:318 @ 08/09/23 10:13:38.056
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@m1kola
The issue is with using podman
.
The error in pushing was due to docker
being hard coded as the container runtime in the test. This is now changed to get the current container runtime using the environment variable CONTAINER_RUNTIME
. The default value of CONTAINER_RUNTIME
defined in the Makefile
is docker
. Therefore the correct runtime has to be assigned to the variable CONTAINER_RUNTIME
before calling the make target if docker
is what is not being used. The test routine also assumes the runtime as docker
if it is unable to retrieve the value of the environment variable.
But this is only a partial fix to the problem. With this change the test for plain+v0
bundles will pass but for registry+v1
will fail. This is because registry+v1
uses operator-sdk
support. Thus to mimic the user experience, the targets bundle-build
and bundle-push
from the generated Makefile by operator-sdk
tool, which has docker
being hard coded as the container runtime, is used to build and push the bundle images. This could be marked as an issue and addressed when hard coding docker
as container runtime in the generated Makefile
is addressed by operator-sdk
.
In conclusion, the current test will only work for docker
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a symlink from docker
to podman
and Podman's CLI is compatible with docker. So make operator-developer-e2e CONTAINER_RUNTIME=podman
and make operator-developer-e2e
give me the same results.
It has to be something else.
I don't know how often (if at all) we will be running this test locally. It might be not worth spinning wheels on this (at least in context of this PR).
bba9a01
to
f3fce19
Compare
6785df4
to
8011376
Compare
I tried running this on my Ventura Mac (M1 Pro):
I tried running this on my F39 (x86_64):
|
Makefile
Outdated
.PHONY: stop-local-registry | ||
stop-local-registry: ## Stop local registry | ||
$(CONTAINER_RUNTIME) container stop local-registry | ||
|
||
.PHONY: remove-local-registry | ||
remove-local-registry: ## Remove local registry | ||
$(CONTAINER_RUNTIME) container rm -v local-registry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having these as separate targets means two things:
They aren't cleaned up when an error occurs, which is good if you want to look at the status of an error, but bad if you want to run the tests again. You might want to force stop in the deploy-local-registry. Or possibly combine these into a single "cleanup" target to make it easier to clean up after failure,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added cleanup-local-registry
which combines both the targets mentioned above. Need to look into force stop in deploy-local-registry if that is required to be addressed.
The podman issue is due to reasons specified in the comment. The test case failure is now fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI if failing at the moment:
Status conditions for the operator registry-operator for the version 0.1.1 is not as expected:Expected status: True, but got: Unknown
Once this failure is deailt with - I think we will be in a good place to get it merged. After that we will be able to iterate in smaller PRs.
I wasn't able to run this locally on ARM mac with podman, but I'm not sure whether we want to hold this PR because of this.
Signed-off-by: jubittajohn <[email protected]>
Signed-off-by: jubittajohn <[email protected]>
…ADME Signed-off-by: jubittajohn <[email protected]>
Signed-off-by: jubittajohn <[email protected]> Refractored the plain bundle and registry bundle interactions; Updated the comments and README Signed-off-by: jubittajohn <[email protected]> Added make target to install operator-sdk; Added make target to deploy a local registry server; Changed test to use the local registry server Signed-off-by: jubittajohn <[email protected]>
…s to be consistent in styling Signed-off-by: jubittajohn <[email protected]>
0d30cd3
to
321525f
Compare
…e;Restructured code to have a single It block in a describe block; Signed-off-by: jubittajohn <[email protected]> Combined local-registry cleanup make target; Added support for container runtime in consideration Signed-off-by: jubittajohn <[email protected]> Bumped the upgrade version from 0.1.1 to 0.2.0 Signed-off-by: jubittajohn <[email protected]> Updated comments and README Signed-off-by: jubittajohn <[email protected]>
321525f
to
88776d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! I think we are in the state where we can merge and we will be able to iterate on top of what you built (e.g. fixing issues with local podman on mac os, etc).
Thank you for all your contributions, best of luck with your studies and I hope to see you around again at some point :)
/lgtm |
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.18.0 to 1.19.1. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.18.0...v1.19.1) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#1542) * Makes codecov-action optional We do not want to fail the job if codecov fails to upload the report due to rate limiting. Signed-off-by: Mikalai Radchuk <[email protected]> * Enable dependabot (#125) Signed-off-by: Andy Goldstein <[email protected]> * Enable merge queue (#131) Signed-off-by: Andy Goldstein <[email protected]> * Switch to using tilt-support repo Signed-off-by: Andy Goldstein <[email protected]> * Add DCO information Signed-off-by: Andy Goldstein <[email protected]> * Add CI for tilt (#134) Signed-off-by: Andy Goldstein <[email protected]> * Enable CatalogMetadataAPI via explicit flag, fix syncing issues (#138) * Setup CODEOWNERS (#140) Signed-off-by: Andy Goldstein <[email protected]> * Deprecate the `CatalogMetadataAPI` feature gate (#141) Marking the CatalogMetadataAPI feature gate as Deprecated before introducing the HTTP server as a default mechanism to serve catalog contents Signed-off-by: Rashmi Gottipati <[email protected]> * Remove Package and BundleMetadata APIs (#149) Signed-off-by: Joe Lanford <[email protected]> * add go-apidiff action (#151) Signed-off-by: Joe Lanford <[email protected]> * Store FBC in local directory (#144) closes #113 Signed-off-by: Anik <[email protected]> * update demo based on API changes (#154) Signed-off-by: Jordan Keister <[email protected]> * Serve locally stored fbc content via an http server (#148) Closes #113 Signed-off-by: Anik <[email protected]> * Add metrics to the catalog server (#156) * add metrics to catalogd http server that can be used for calculating the Apdex Score and assess the health of the http server that is serving catalog contents to clients Signed-off-by: Bryce Palmer <[email protected]> * quick fixes from review comments Signed-off-by: Bryce Palmer <[email protected]> * rename package from server --> metrics Signed-off-by: Bryce Palmer <[email protected]> * rename package from server --> metrics Signed-off-by: Bryce Palmer <[email protected]> --------- Signed-off-by: Bryce Palmer <[email protected]> * (docs): Add docs on fetching contents via HTTP server (#166) * (docs): Add docs on fetching contents via HTTP server Signed-off-by: Bryce Palmer <[email protected]> * add curl examples Signed-off-by: Bryce Palmer <[email protected]> --------- Signed-off-by: Bryce Palmer <[email protected]> Signed-off-by: Bryce Palmer <[email protected]> * (refactor): Remove deprecated CatalogMetadata and associated code (#169) * (refactor): Remove deprecated CatalogMetadata and associated code Signed-off-by: Bryce Palmer <[email protected]> * go mod tidy Signed-off-by: Bryce Palmer <[email protected]> --------- Signed-off-by: Bryce Palmer <[email protected]> * (server) Expose content URL on CR status (#168) closes #119 Signed-off-by: Anik <[email protected]> * deps: bump kubernetes and operator-registry (#173) Signed-off-by: Joe Lanford <[email protected]> * Add RELEASING.md (#176) Add release guide Signed-off-by: Catherine Chan-Tse <[email protected]> * Add contribution guide (#165) * Add contributing guide to catalogd Signed-off-by: Rashmi Gottipati <[email protected]> * Address review comments Signed-off-by: Rashmi Gottipati <[email protected]> --------- Signed-off-by: Rashmi Gottipati <[email protected]> * Update README with simplified make target ref (#178) Signed-off-by: kevinrizza <[email protected]> * add default printer columns (#174) Add default printer columns Signed-off-by: kevinrizza <[email protected]> * (cleanup) Kustomization (#183) Closes #155, #160 Signed-off-by: Anik Bhattacharjee <[email protected]> * (feature): add direct image registry client `Unpacker` implementation (#145) (feat): direct image registry client unpacker Signed-off-by: Bryce Palmer <[email protected]> * (techdebt): refactor catalog controller unit tests (#196) * (techdebt): refactor catalog controller unit tests to no longer use Ginkgo and instead use the native Go testing and testify Signed-off-by: Bryce Palmer <[email protected]> * remove rebase detritus, unnecessary IIFE, and featuregate comments/blocks. goimports. Signed-off-by: Bryce Palmer <[email protected]> --------- Signed-off-by: Bryce Palmer <[email protected]> * Bump golang.org/x/net from 0.10.0 to 0.17.0 (#197) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0. - [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/docker/docker from 23.0.1+incompatible to 23.0.3+incompatible (#195) Bump github.com/docker/docker Bumps [github.com/docker/docker](https://github.com/docker/docker) from 23.0.1+incompatible to 23.0.3+incompatible. - [Release notes](https://github.com/docker/docker/releases) - [Commits](https://github.com/docker/docker/compare/v23.0.1...v23.0.3) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * (feature) Implement polling image source in intervals (#185) Implements https://docs.google.com/document/d/1iWSrWL9pYRJ5Ua3VYErkK1Q2lAusBUeDCh66Ew4lDbQ/edit?usp=sharing Closes #180 Signed-off-by: Anik Bhattacharjee <[email protected]> * Add GoDoc for Phase (#199) GoDoc for Phase Signed-off-by: Anik Bhattacharjee <[email protected]> * (feature): add skip-tls-verify option for image sources (#201) * (feature): add skip-tls-verify option for image sources Signed-off-by: Bryce Palmer <[email protected]> * re-generate manifests Signed-off-by: Bryce Palmer <[email protected]> --------- Signed-off-by: Bryce Palmer <[email protected]> * 🌱 Add PR template with icons & verify job (#205) Add PR template with icons & verify job Signed-off-by: Andy Goldstein <[email protected]> * 🌱 Bump github.com/docker/docker from 23.0.3+incompatible to 24.0.7+incompatible (#203) Bump github.com/docker/docker Bumps [github.com/docker/docker](https://github.com/docker/docker) from 23.0.3+incompatible to 24.0.7+incompatible. - [Release notes](https://github.com/docker/docker/releases) - [Commits](https://github.com/docker/docker/compare/v23.0.3...v24.0.7) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :bug: attempt to remove cache entry if unpack fails (#207) (bugfix): attempt to remove cache entry if unpack fails and add a new test case that ensures if the required label is missing from the image, thus failing image unpacking, an error is consistently returned fixes #206 Signed-off-by: Bryce Palmer <[email protected]> * 🌱 Prefix dependabot GH actions PRs (#208) Prefix dependabot GH actions PRs Signed-off-by: Andy Goldstein <[email protected]> * :seedling: replace e2e Job with client-go ProxyGet() call (#210) (e2e): replace e2e Job with client-go ProxyGet() call Signed-off-by: Bryce Palmer <[email protected]> * ✨ Add Ingress overlay to access `Catalog` contents outside of the cluster (#209) * Add Ingress overlay to access `Catalog` contents outside of the cluster Signed-off-by: Rashmi Gottipati <[email protected]> * Address review feedback Signed-off-by: Rashmi Gottipati <[email protected]> * Address review feedback #1 Signed-off-by: Rashmi Gottipati <[email protected]> * Address feedback #2 Signed-off-by: Rashmi Gottipati <[email protected]> --------- Signed-off-by: Rashmi Gottipati <[email protected]> * 🌱 bump to k8s 1.27.7 (#211) bump to k8s 1.27.7 to ensure catalogd is fully remediated and unaffected by the rapid reset CVE Signed-off-by: Bryce Palmer <[email protected]> * :seedling: Remove cert-manager from release note install process (#215) Remove cert-manager from release note install process as cert-manager has not been a requirement for installing catalogd for quite some time. Signed-off-by: Bryce Palmer <[email protected]> * :bug: Add enum validation for source type (#214) Add enum validation for source type Signed-off-by: Bryce Palmer <[email protected]> * 🌱 updates to enable autogenerated demo, hosted out-of-tree (#212) * updates to support automated demo generation Signed-off-by: Jordan Keister <[email protected]> * review updates Signed-off-by: Jordan Keister <[email protected]> --------- Signed-off-by: Jordan Keister <[email protected]> * :seedling: demo install from published tag (#217) * demo install from published tag Signed-off-by: Jordan Keister <[email protected]> * review updates Signed-off-by: Jordan Keister <[email protected]> --------- Signed-off-by: Jordan Keister <[email protected]> * Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#218) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0. - [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/go-git/go-git/v5 from 5.4.2 to 5.11.0 (#220) Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.4.2 to 5.11.0. - [Release notes](https://github.com/go-git/go-git/releases) - [Commits](https://github.com/go-git/go-git/compare/v5.4.2...v5.11.0) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/containerd/containerd from 1.6.22 to 1.6.26 (#219) Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.22 to 1.6.26. - [Release notes](https://github.com/containerd/containerd/releases) - [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md) - [Commits](https://github.com/containerd/containerd/compare/v1.6.22...v1.6.26) --- updated-dependencies: - dependency-name: github.com/containerd/containerd dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * (bugfix): bump the catalogserver write timeout to 5 minutes (#223) to allow for fully writing large catalogs contents in the response Signed-off-by: everettraven <[email protected]> * (bugfix): add validation for pollInterval duration units (#225) Signed-off-by: everettraven <[email protected]> * (chore): bump supported k8s version to 1.28 (#227) bumps controller-runtime --> v0.16.3 bumps k8s.io deps --> v0.28.5 bumps operator-registry --> v1.34.0 updated kind version --> v0.20.0 made kind node image configurable and 1.28 by default updated ginkgo version --> v2.12.0 Signed-off-by: everettraven <[email protected]> * Bump github.com/containerd/containerd from 1.7.6 to 1.7.11 (#228) Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.6 to 1.7.11. - [Release notes](https://github.com/containerd/containerd/releases) - [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md) - [Commits](https://github.com/containerd/containerd/compare/v1.7.6...v1.7.11) --- updated-dependencies: - dependency-name: github.com/containerd/containerd dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#230) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0. - [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * (bugfix): make garbage collection a runnable (#231) and add it to the controller manager. Make it log errors instead of exiting. This prevents crashlooping when there are errors in the garbage collection process. Signed-off-by: everettraven <[email protected]> * bumping codecov-action to v4 (#232) * GH Actions: add workflow to add epic issues to OLMv1 project (#233) Signed-off-by: Joe Lanford <[email protected]> * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#234) Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0. --- updated-dependencies: - dependency-name: google.golang.org/protobuf dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Go to 1.21 (#237) Signed-off-by: Mikalai Radchuk <[email protected]> * bump docker deps to 25.0.5 (#236) * bump kind to 0.22.0 (#238) Signed-off-by: Joe Lanford <[email protected]> * remove terminating space in dependabot config file (#245) Signed-off-by: Jordan Keister <[email protected]> * make golangci-lint config consistent across repos (#255) Signed-off-by: Joe Lanford <[email protected]> * Bump golang.org/x/net from 0.19.0 to 0.23.0 (#244) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.19.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump docker/login-action from 2 to 3 (#246) Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump actions/checkout from 3 to 4 (#247) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/go-logr/logr from 1.3.0 to 1.4.1 (#253) Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.3.0 to 1.4.1. - [Release notes](https://github.com/go-logr/logr/releases) - [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md) - [Commits](https://github.com/go-logr/logr/compare/v1.3.0...v1.4.1) --- updated-dependencies: - dependency-name: github.com/go-logr/logr dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump actions/add-to-project from 0.5.0 to 1.0.1 (#249) Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 0.5.0 to 1.0.1. - [Release notes](https://github.com/actions/add-to-project/releases) - [Commits](https://github.com/actions/add-to-project/compare/v0.5.0...v1.0.1) --- updated-dependencies: - dependency-name: actions/add-to-project dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump actions/setup-go from 4 to 5 (#250) Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 (#254) Bumps [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/kubernetes-sigs/yaml/releases) - [Changelog](https://github.com/kubernetes-sigs/yaml/blob/master/RELEASE.md) - [Commits](https://github.com/kubernetes-sigs/yaml/compare/v1.3.0...v1.4.0) --- updated-dependencies: - dependency-name: sigs.k8s.io/yaml dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump kubernetes-sigs/kubebuilder-release-tools (#248) Bumps [kubernetes-sigs/kubebuilder-release-tools](https://github.com/kubernetes-sigs/kubebuilder-release-tools) from 0.4.0 to 0.4.3. - [Release notes](https://github.com/kubernetes-sigs/kubebuilder-release-tools/releases) - [Changelog](https://github.com/kubernetes-sigs/kubebuilder-release-tools/blob/master/RELEASE.md) - [Commits](https://github.com/kubernetes-sigs/kubebuilder-release-tools/compare/v0.4.0...v0.4.3) --- updated-dependencies: - dependency-name: kubernetes-sigs/kubebuilder-release-tools dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * OCPBUGS-28230: enforce termination message policy on all platform pods (#260) Signed-off-by: Joe Lanford <[email protected]> * bump controller-gen to v0.14.0 (#262) Signed-off-by: Tayler Geiger <[email protected]> * ⚠️ Serve catalog over HTTPS (#263) * make catalog server serve catalog contents over HTTPS adds cert-manager as a dependency again to create self-signed certs for the catalog server Signed-off-by: everettraven <[email protected]> * fix e2e Signed-off-by: everettraven <[email protected]> * Reorganize manifests for cert-manager overlay This allows the use of alternate certificate managers. Signed-off-by: Tayler Geiger <[email protected]> * Reconfigure TLS functionality to use Listener Fix a few manifest issues as well. Signed-off-by: Tayler Geiger <[email protected]> * Add certwatcher for TLS cert and key from controller-runtime - Add error for missing either tls-key or tls-cert arguments. - Move server creation and configuration to serverutil Signed-off-by: Tayler Geiger <[email protected]> * Update README and docs for HTTPS --------- Signed-off-by: everettraven <[email protected]> Signed-off-by: Tayler Geiger <[email protected]> Co-authored-by: everettraven <[email protected]> * Makefile: fix issues with repeated evaluations (#267) * rename Catalog to ClusterCatalog (#268) Signed-off-by: everettraven <[email protected]> * ✨ Bump k8s deps to 0.30.0 and go 1.22 (#269) * bump to go 1.22 and k8s 0.30.0 Signed-off-by: everettraven <[email protected]> * bump o-reg to tag Signed-off-by: everettraven <[email protected]> --------- Signed-off-by: everettraven <[email protected]> * :seedling: Bump k8s.io/client-go from 0.30.0 to 0.30.1 (#276) Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.30.0 to 0.30.1. - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/kubernetes/client-go/compare/v0.30.0...v0.30.1) --- updated-dependencies: - dependency-name: k8s.io/client-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump k8s.io/component-base from 0.28.5 to 0.30.1 (#275) Bumps [k8s.io/component-base](https://github.com/kubernetes/component-base) from 0.28.5 to 0.30.1. - [Commits](https://github.com/kubernetes/component-base/compare/v0.28.5...v0.30.1) --- updated-dependencies: - dependency-name: k8s.io/component-base dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump k8s.io/apiserver from 0.28.5 to 0.30.1 (#274) Bumps [k8s.io/apiserver](https://github.com/kubernetes/apiserver) from 0.28.5 to 0.30.1. - [Commits](https://github.com/kubernetes/apiserver/compare/v0.28.5...v0.30.1) --- updated-dependencies: - dependency-name: k8s.io/apiserver dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix XDG_DATA_HOME build issue (#264) This mirrors the same fix made previously in operator-controller: https://github.com/operator-framework/operator-controller/pull/790 Signed-off-by: Tayler Geiger <[email protected]> * Change default namespace to olmv1-system (#283) * :seedling: Bump k8s.io/apiextensions-apiserver from 0.30.0 to 0.30.2 (#284) Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.30.0 to 0.30.2. - [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases) - [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.30.0...v0.30.2) --- updated-dependencies: - dependency-name: k8s.io/apiextensions-apiserver dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/containerd/containerd from 1.7.16 to 1.7.18 (#282) Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.16 to 1.7.18. - [Release notes](https://github.com/containerd/containerd/releases) - [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md) - [Commits](https://github.com/containerd/containerd/compare/v1.7.16...v1.7.18) --- updated-dependencies: - dependency-name: github.com/containerd/containerd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix codecov-action params (#287) * `functionalities` param is no longer exist. It was used to enable file fixes to ignore common lines from coverage. This feature is now seems to be on by default. * Adding `disable_search` because we do not need for the codecov action to search for coverage files: we explicitly provide files. Signed-off-by: Mikalai Radchuk <[email protected]> * Use url.Scheme to determine port number (#289) Signed-off-by: Todd Short <[email protected]> * Fixing the labels for better identify metrics (#292) As the label selector used for both catalogd and operator-controller metrics services is "control-plane: controller-manager". Hence changing the labels in both operator-controller and catalogd to make sure we do not overlap. Refer https://github.com/operator-framework/operator-controller/issues/955 for details Signed-off-by: Lalatendu Mohanty <[email protected]> * adding gzip content support (#293) Signed-off-by: Jordan Keister <[email protected]> * :seedling: Bump actions/add-to-project from 1.0.1 to 1.0.2 (#291) Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/actions/add-to-project/releases) - [Commits](https://github.com/actions/add-to-project/compare/v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: actions/add-to-project dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/prometheus/client_golang (#286) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.18.0 to 1.19.1. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.1) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/google/go-containerregistry (#285) Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) from 0.19.1 to 0.19.2. - [Release notes](https://github.com/google/go-containerregistry/releases) - [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml) - [Commits](https://github.com/google/go-containerregistry/compare/v0.19.1...v0.19.2) --- updated-dependencies: - dependency-name: github.com/google/go-containerregistry dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/go-logr/logr from 1.4.1 to 1.4.2 (#279) Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.4.1 to 1.4.2. - [Release notes](https://github.com/go-logr/logr/releases) - [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md) - [Commits](https://github.com/go-logr/logr/compare/v1.4.1...v1.4.2) --- updated-dependencies: - dependency-name: github.com/go-logr/logr dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/onsi/ginkgo/v2 from 2.17.3 to 2.19.0 (#277) Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.17.3 to 2.19.0. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.17.3...v2.19.0) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/operator-framework/operator-registry (#281) Bumps [github.com/operator-framework/operator-registry](https://github.com/operator-framework/operator-registry) from 1.42.0 to 1.43.1. - [Release notes](https://github.com/operator-framework/operator-registry/releases) - [Commits](https://github.com/operator-framework/operator-registry/compare/v1.42.0...v1.43.1) --- updated-dependencies: - dependency-name: github.com/operator-framework/operator-registry dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * check the underlying storage for existing cluster catalog content (#290) Signed-off-by: Igor Troyanovsky <[email protected]> * :seedling: Bump github.com/operator-framework/operator-registry (#294) Bumps [github.com/operator-framework/operator-registry](https://github.com/operator-framework/operator-registry) from 1.43.1 to 1.44.0. - [Release notes](https://github.com/operator-framework/operator-registry/releases) - [Commits](https://github.com/operator-framework/operator-registry/compare/v1.43.1...v1.44.0) --- updated-dependencies: - dependency-name: github.com/operator-framework/operator-registry dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Share common CA with OLMv1 in overlays/cert-manager (#296) Use kustomization Components to share a common ClusterIssuer with operator-controller. Fixes #295 Signed-off-by: Todd Short <[email protected]> * :seedling: Bump github.com/containerd/containerd from 1.7.18 to 1.7.19 (#297) Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.18 to 1.7.19. - [Release notes](https://github.com/containerd/containerd/releases) - [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md) - [Commits](https://github.com/containerd/containerd/compare/v1.7.18...v1.7.19) --- updated-dependencies: - dependency-name: github.com/containerd/containerd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * reduce cpu requests (#298) Signed-off-by: Jordan Keister <[email protected]> * Remove second installation of cert-manager (#300) Signed-off-by: Mikalai Radchuk <[email protected]> * Bump ginkgo CLI (#301) Signed-off-by: Mikalai Radchuk <[email protected]> * :seedling: Bump github.com/google/go-containerregistry (#302) Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) from 0.19.2 to 0.20.0. - [Release notes](https://github.com/google/go-containerregistry/releases) - [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml) - [Commits](https://github.com/google/go-containerregistry/compare/v0.19.2...v0.20.0) --- updated-dependencies: - dependency-name: github.com/google/go-containerregistry dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#303) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.64.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.64.1) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * shift gzip lib to active fork (#311) Signed-off-by: Jordan Keister <[email protected]> * Move all packages from /pkg to /internal (#310) Ahead of an initial 1.0.0 release, we shouldn't preemptively expose any packages publicly. Instead, let's start my making any packages internal, and we can expose them publicly later on. This commit moves everything currently in /pkg to /internal for now. Signed-off-by: kevinrizza <[email protected]> * :seedling: Bump github.com/klauspost/compress from 1.17.8 to 1.17.9 (#312) Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.17.8 to 1.17.9. - [Release notes](https://github.com/klauspost/compress/releases) - [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml) - [Commits](https://github.com/klauspost/compress/compare/v1.17.8...v1.17.9) --- updated-dependencies: - dependency-name: github.com/klauspost/compress dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/google/go-containerregistry (#315) Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) from 0.20.0 to 0.20.1. - [Release notes](https://github.com/google/go-containerregistry/releases) - [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml) - [Commits](https://github.com/google/go-containerregistry/compare/v0.20.0...v0.20.1) --- updated-dependencies: - dependency-name: github.com/google/go-containerregistry dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/operator-framework/operator-registry (#319) Bumps [github.com/operator-framework/operator-registry](https://github.com/operator-framework/operator-registry) from 1.44.0 to 1.45.0. - [Release notes](https://github.com/operator-framework/operator-registry/releases) - [Commits](https://github.com/operator-framework/operator-registry/compare/v1.44.0...v1.45.0) --- updated-dependencies: - dependency-name: github.com/operator-framework/operator-registry dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump k8s.io/apiextensions-apiserver from 0.30.2 to 0.30.3 (#320) Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.30.2 to 0.30.3. - [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases) - [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.30.2...v0.30.3) --- updated-dependencies: - dependency-name: k8s.io/apiextensions-apiserver dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Include OperatorHub.io ClusterCatalog in releases (#321) Also adds optional instructions for adding the OperatorHub.io ClusterCatalog to a cluster. Signed-off-by: Tayler Geiger <[email protected]> * ✨ json-lines interface: set content-type, enforce format, document interface (#313) * set content-type for ndjson Signed-off-by: Jordan Keister <[email protected]> * generate json-lines validation data Signed-off-by: Jordan Keister <[email protected]> * added docs for interface format Signed-off-by: Jordan Keister <[email protected]> --------- Signed-off-by: Jordan Keister <[email protected]> * :seedling: Bump github.com/containerd/containerd from 1.7.19 to 1.7.20 (#324) Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.19 to 1.7.20. - [Release notes](https://github.com/containerd/containerd/releases) - [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md) - [Commits](https://github.com/containerd/containerd/compare/v1.7.19...v1.7.20) --- updated-dependencies: - dependency-name: github.com/containerd/containerd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add dependabot K8s dependencies group (#322) Signed-off-by: Mikalai Radchuk <[email protected]> * add catalogd upgrade test (#314) Signed-off-by: Ankita Thomas <[email protected]> * Add installation script (#325) This follows the release pattern used in operator-controller where an install.sh script is used for a multi-step installation process. The OperatorHub ClusterCatalog is also included in the release artifacts. Also adjusted the Makefile to use the install.sh for deploy. Signed-off-by: Tayler Geiger <[email protected]> * Update run-latest-release Makefile target (#326) * 🌱 Revert 2 previous PRs (#327) * Revert "Update run-latest-release Makefile target (#326)" This reverts commit 74de15aa8e50e0764eb7f97c1a667dc41b471a9a. * Revert "Add installation script (#325)" This reverts commit bad488ef1e8245db4e2ca7bb90b6ef7a7a3e4f63. * Add installation script to releases (#328) This follows the release pattern used in operator-controller where an install.sh script is used for a multi-step installation process. The OperatorHub ClusterCatalog is also included in the release artifacts. Also adjusted the Makefile to use the install.sh for deploy. Signed-off-by: Tayler Geiger <[email protected]> * Edit Makefile targets to use install.sh (#329) Adjusts several Makefile targets to use the new install.sh script. Includes adjustments to test-upgrade-e2e to use a new target that only installs the catalogd manifest so cert-manager can still be installed first for use in the image registry. Signed-off-by: Tayler Geiger <[email protected]> * capturing gzip catalog demo as asciicast (#323) Signed-off-by: Jordan Keister <[email protected]> * :seedling: Bump github.com/onsi/gomega from 1.33.1 to 1.34.0 (#332) Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.33.1 to 1.34.0. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/gomega/compare/v1.33.1...v1.34.0) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.19.1 (#331) Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.19.0 to 2.19.1. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.19.0...v2.19.1) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/onsi/gomega from 1.34.0 to 1.34.1 (#333) Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.34.0 to 1.34.1. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/gomega/compare/v1.34.0...v1.34.1) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * default-catalogs.yaml: add 10m poll (#335) * ✨ initial api audit type alignment (#330) * initial api audit Signed-off-by: Jordan Keister <[email protected]> * review resolutions Signed-off-by: Jordan Keister <[email protected]> --------- Signed-off-by: Jordan Keister <[email protected]> * :seedling: Bump github.com/onsi/ginkgo/v2 from 2.19.1 to 2.20.0 (#338) Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.19.1 to 2.20.0. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.19.1...v2.20.0) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/google/go-containerregistry (#337) Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) from 0.20.1 to 0.20.2. - [Release notes](https://github.com/google/go-containerregistry/releases) - [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml) - [Commits](https://github.com/google/go-containerregistry/compare/v0.20.1...v0.20.2) --- updated-dependencies: - dependency-name: github.com/google/go-containerregistry dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/prometheus/client_golang (#344) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.19.1 to 1.20.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.0/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump the k8s-dependencies group with 6 updates (#343) * :seedling: Bump the k8s-dependencies group with 6 updates Bumps the k8s-dependencies group with 6 updates: | Package | From | To | | --- | --- | --- | | [k8s.io/api](https://github.com/kubernetes/api) | `0.30.3` | `0.31.0` | | [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | `0.30.3` | `0.31.0` | | [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | `0.30.3` | `0.31.0` | | [k8s.io/apiserver](https://github.com/kubernetes/apiserver) | `0.30.3` | `0.31.0` | | [k8s.io/client-go](https://github.com/kubernetes/client-go) | `0.30.3` | `0.31.0` | | [k8s.io/component-base](https://github.com/kubernetes/component-base) | `0.30.3` | `0.31.0` | Updates `k8s.io/api` from 0.30.3 to 0.31.0 - [Commits](https://github.com/kubernetes/api/compare/v0.30.3...v0.31.0) Updates `k8s.io/apiextensions-apiserver` from 0.30.3 to 0.31.0 - [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases) - [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.30.3...v0.31.0) Updates `k8s.io/apimachinery` from 0.30.3 to 0.31.0 - [Commits](https://github.com/kubernetes/apimachinery/compare/v0.30.3...v0.31.0) Updates `k8s.io/apiserver` from 0.30.3 to 0.31.0 - [Commits](https://github.com/kubernetes/apiserver/compare/v0.30.3...v0.31.0) Updates `k8s.io/client-go` from 0.30.3 to 0.31.0 - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/kubernetes/client-go/compare/v0.30.3...v0.31.0) Updates `k8s.io/component-base` from 0.30.3 to 0.31.0 - [Commits](https://github.com/kubernetes/component-base/compare/v0.30.3...v0.31.0) --- updated-dependencies: - dependency-name: k8s.io/api dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies - dependency-name: k8s.io/apiextensions-apiserver dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies - dependency-name: k8s.io/apimachinery dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies - dependency-name: k8s.io/apiserver dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies - dependency-name: k8s.io/client-go dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies - dependency-name: k8s.io/component-base dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * Bump controller-runtime from 0.18.4 to 0.19.0 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]> * :seedling: change GVK to use olm.operatorframework.io (#342) Signed-off-by: Jordan Keister <[email protected]> * Removing the catalogd from app.kubernetes.io/name (#347) As this namespace is shared between catalogd operator-framework-catalogd Fixes issue #346 Signed-off-by: Lalatendu Mohanty <[email protected]> * :seedling: Bump github.com/operator-framework/operator-registry from 1.45.0 to 1.46.0 (#345) * :seedling: Bump github.com/operator-framework/operator-registry Bumps [github.com/operator-framework/operator-registry](https://github.com/operator-framework/operator-registry) from 1.45.0 to 1.46.0. - [Release notes](https://github.com/operator-framework/operator-registry/releases) - [Commits](https://github.com/operator-framework/operator-registry/compare/v1.45.0...v1.46.0) --- updated-dependencies: - dependency-name: github.com/operator-framework/operator-registry dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * bump controller-gen to v0.16.1 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]> * ✨ Capture catalog content timestamp in ClusterCatalogStatus (#334) * Capture catalog content timestamp in ClusterCatalogStatus Signed-off-by: Rashmi Gottipati <[email protected]> * address reviews (partial) Signed-off-by: Rashmi Gottipati <[email protected]> * address review feedback Signed-off-by: Rashmi Gottipati <[email protected]> * Address review comments Signed-off-by: Rashmi Gottipati <[email protected]> --------- Signed-off-by: Rashmi Gottipati <[email protected]> * :seedling: Bump github.com/onsi/ginkgo/v2 from 2.20.0 to 2.20.1 (#350) Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.20.0 to 2.20.1. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.20.0...v2.20.1) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/prometheus/client_golang (#351) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.0 to 1.20.2. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.20.0...v1.20.2) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/containerd/containerd from 1.7.20 to 1.7.21 (#352) Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.20 to 1.7.21. - [Release notes](https://github.com/containerd/containerd/releases) - [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md) - [Commits](https://github.com/containerd/containerd/compare/v1.7.20...v1.7.21) --- updated-dependencies: - dependency-name: github.com/containerd/containerd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Catalog Priority (#353) Adds an int32 field to allow users to optionally set priority of catalogs. This priority value may be taken into account during bundle selection from multiple catalogs to remove ambiguity. Signed-off-by: dtfranz <[email protected]> * add v1.0 and v1.x issues to OLMv1 project automatically (#354) Signed-off-by: Joe Lanford <[email protected]> * :seedling: Bump bingo + tools (#358) * Add bingo-upgrade target to Makefile Signed-off-by: Per Goncalves da Silva <[email protected]> * Upgrade bingo tools Signed-off-by: Per Goncalves da Silva <[email protected]> * Regenerate manifests Signed-off-by: Per Goncalves da Silva <[email protected]> --------- Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]> * bugfix: fix printcolumn for lastUnpacked based on json tag and not field name (#361) Signed-off-by: Rashmi Gottipati <[email protected]> * :seedling: Bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.20.2 (#360) Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.20.1 to 2.20.2. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.20.1...v2.20.2) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * :seedling: Bump github.com/onsi/gomega from 1.34.1 to 1.34.2 (#359) Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.34.1 to 1.34.2. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/gomega/compare/v1.34.1...v1.34.2) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update cert-manager to v1.15.3 (#367) Signed-off-by: Todd Short <[email protected]> * Remove status.phase field from the code and doc references (#368) Signed-off-by: Todd Short <[email protected]> * 🌱 Add webhook to add a name label to ClusterCatalogs (#356) * Add webhook to name label ClusterCatalogs * Linter fixups * Added bit more webhook test coverage * Use catalogd version & clean up TLS args Signed-off-by: Brett Tofel <[email protected]> * Fix label name Signed-off-by: Brett Tofel <[email protected]> * From stand-alone webhook to operator internal Signed-off-by: Brett Tofel <[email protected]> * Think this fixes e2e-upgrade not sure why PR changes might necessitate this, but it seems legit to delete deployment first Signed-off-by: Brett Tofel <[email protected]> * PR review changes so far... - get MutaingWebhookConfig from kubebuilder; - stop deleting deployment on only-deploy; - use the existing matchLabel, stop adding webhook label to operator; - rename the name label to metadata.name (but not in API yet). Signed-off-by: Brett Tofel <[email protected]> * Restore CA issuer config Signed-off-by: Brett Tofel <[email protected]> * Fix unit tests Signed-off-by: Brett Tofel <[email protected]> * Addresses review comments around TLS cert config Signed-off-by: Brett Tofel <[email protected]> * Move RBAC for webhook to kb directive Signed-off-by: Brett Tofel <[email protected]> * Move allow-direct-injection to secretTemplate Signed-off-by: Brett Tofel <[email protected]> * Make metadata.name an API constant Signed-off-by: Brett Tofel <[email protected]> * Use MetaDataNameLabel API constant in log line Signed-off-by: Brett Tofel <[email protected]> * Combine cert watchers Signed-off-by: Brett Tofel <[email protected]> * Move cert watching back to ctr-rt manager Signed-off-by: Brett Tofel <[email protected]> * Address review comments Signed-off-by: Brett Tofel <[email protected]> * Address review comments 2 Signed-off-by: Brett Tofel <[email protected]> --------- Signed-off-by: Brett Tofel <[email protected]> * Move cert-manager.io patch into tls component (#372) Signed-off-by: Todd Short <[email protected]> * :seedling: Bump github.com/prometheus/client_golang (#375) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.2 to 1.20.3. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.3/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.20.2...v1.20.3) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add label creation checking in the e2e (#374) Signed-off-by: Todd Short <[email protected]> * Add matchCondition to webhook config (#376) Should add some efficiency as it only lets the webhook fire when needed Signed-off-by: Brett Tofel <[email protected]> * Fix matchConditions to be compatible with GenerateName (#382) Signed-off-by: Todd Short <[email protected]> * Force a rename of the catalogd certificate (#386) This will cause the catalogd deployment to restart, meaning that the catalogd will update quicker (rather than waiting on k8s to update the certificates via the volume) Signed-off-by: Todd Short <[email protected]> * :seedling: Bump github.com/operator-framework/operator-registry (#387) Bumps [github.com/operator-framework/operator-registry](https://github.com/operator-framework/operator-registry) from 1.46.0 to 1.47.0. - [Release notes](https://github.com/operator-framework/operator-registry/releases) - [Commits](https://github.com/operator-framework/operator-registry/compare/v1.46.0...v1.47.0) --- updated-dependencies: - dependency-name: github.com/operator-framework/operator-registry dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * 📖 [Docs] Document tilt-support install (#388) * Document tilt-support install Signed-off-by: Brett Tofel <[email protected]> * Improve tilt-support text Signed-off-by: Brett Tofel <[email protected]> --------- Signed-off-by: Brett Tofel <[email protected]> * :seedling: Bump github.com/containerd/containerd from 1.7.21 to 1.7.22 (#391) Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.21 to 1.7.22. - [Release notes](https://github.com/containerd/containerd/releases) - [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md) - [Commits](https://github.com/containerd/containerd/compare/v1.7.21...v1.7.22) --- updated-dependencies: - dependency-name: github.com/containerd/containerd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ✨ Ensure docker registry CA is trusted in e2e tests (#377) * Ensure docker registry CA is trusted in e2e tests * Restructure based on feedback * Fix FS cache for image refs with tags (#394) Signed-off-by: Mikalai Radchuk <[email protected]> * Fixes name of httputil test file (#395) Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]> * Add .idea to .gitignore (#393) Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]> * Remove TLSVerify/PullSecret fields (#369) Remove fields that will not have long term support committed to them to prepare for the v1.0 release. Removed Fields: - spec.source.image.insecureSkipTLSVerify - spec.source.image.pullSecret GH Issue Ref: #355 Signed-off-by: Per Goncalves da Silva <[email protected]> * Avoid a network call for digest based images (#396) Signed-off-by: Mikalai Radchuk <[email protected]> * :seedling: Bump the k8s-dependencies group with 6 updates (#398) Bumps the k8s-dependencies group with 6 updates: | Package | From | To | | --- | --- | --- | | [k8s.io/api](https://github.com/kubernetes/api) | `0.31.0` | `0.31.1` | | [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | `0.31.0` | `0.31.1` | | [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | `0.31.0` | `0.31.1` | | [k8s.io/apiserver](https://github.com/kubernetes/apiserver) | `0.31.0` | `0.31.1` | | [k8s.io/client-go](https://github.com/kubernetes/client-go) | `0.31.0` | `0.31.1` | | [k8s.io/component-base](https://github.com/kubernetes/component-base) | `0.31.0` | `0.31.1` | Updates `k8s.io/api` from 0.31.0 to 0.31.1 - [Commits](https://github.com/kubernetes/api/compare/v0.31.0...v0.31.1) Updates `k8s.io/apiextensions-apiserver` from 0.31.0 to 0.31.1 - [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases) - [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.31.0...v0.31.1) Updates `k8s.io/apimachinery` from 0.31.0 to 0.31.1 - [Commits](https://github.com/kubernetes/apimachinery/compare/v0.31.0...v0.31.1) Updates `k8s.io/apiserver` from 0.31.0 to 0.31.1 - [Commits](https://github.com/kubernetes/apiserver/compare/v0.31.0...v0.31.1) Updates `k8s.io/client-go` from 0.31.0 to 0.31.1 - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/kubernetes/client-go/compare/v0.31.0...v0.31.1) Updates `k8s.io/component-base` from 0.31.0 to 0.31.1 - [Commits](https://github.com/kubernetes/component-base/compare/v0.31.0...v0.31.1) --- updated-dependencies: - dependency-name: k8s.io/api dependency-type: direct:production update-type: version-update:semver-patch dependency-group: k8s-dependencies - dependency-name: k8s.io/apiextensions-apiserver dependency-type: direct:production update-type: version-update:semver-patch dependency-group: k8s-dependencies - dependency-name: k8s.io/apimachinery dependency-type: direct:production update-type: version-update:semver-patch dependency-group: k8s-dependencies - dependency-name: k8s.io/apiserver dependency-type: direct:production update-type: version-update:semver-patch dependency-group: k8s-dependencies - dependency-name: k8s.io/client-go dependency-type: direct:production update-type: version-update:semver-patch dependency-group: k8s-dependencies - dependency-name: k8s.io/component-base dependency-type: direct:production update-type: version-update:semver-patch dependency-group: k8s-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix unnecessary lastUnpacked status updates (#397) We should not be updating lastUnpacked status fields when we read from the cache Signed-off-by: Mikalai Radchuk <[email protected]> * ✨ unpacker: switch from google/go-containerregistry to containers/image (#399) * copy containers_image.go from operator-controller Signed-off-by: Joe Lanford <[email protected]> * initial modifications for naming and types Signed-off-by: Joe Lanford <[email protected]> * unpacker: switch to containers/image-based implementation Signed-off-by: Joe Lanford <[email protected]> --------- Signed-off-by: Joe Lanford <[email protected]> * :seedling: Align ClusterCatalog API godoc with OpenShift API conventions (#390) * Update godoc strings for ClusterCatalog API Signed-off-by: Per Goncalves da Silva <[email protected]> * Regenerate manifests Signed-off-by: Per Goncalves da Silva <[email protected]> * Apply suggestions from code review Text fixes Co-authored-by: Bryce Palmer <[email protected]> * Address reviewer comments Signed-off-by: Per Goncalves da Silva <[email protected]> * Update api/core/v1alpha1/clustercatalog_types.go Co-authored-by: Bryce Palmer <[email protected]> * Apply suggestions from code review Co-authored-by: Joe Lanford <[email protected]> Signed-off-by: Per Goncalves da Silva <[email protected]> --------- Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Bryce Palmer <[email protected]> Co-authored-by: Joe Lanford <[email protected]> * Add CI to check if golang version updated (#401) Signed-off-by: Todd Short <[email protected]> * Combine the catalogd services (#402) Only need to define one service for: * metrics * webhook * catalogd itself Clean up the name of the service (now `catalogd-service`) and any corresponding resources Renumber the ports to 7443/8443/9443. The external port for the catalog server is either 80 or 443. Signed-off-by: Todd Short <[email protected]> * Update documentation and default to new service name. (#406) Signed-off-by: Todd Short <[email protected]> * fix: make post-upgrade-e2e checks wait for ClusterCatalog to be reconciled (#407) Signed-off-by: Joe Lanford <[email protected]> * fix: unpack cache cleanup should ignore missing files (#404) Signed-off-by: Joe Lanford <[email protected]> * use controller-runtime Terminal error instead of custom Unrecoverable error (#405) Signed-off-by: Joe Lanford <[email protected]> * Refer to the correct location for go-verdiff (#408) The location is different than the operator-controller repo. Signed-off-by: Todd Short <[email protected]> * :seedling: Bump github.com/prometheus/client_golang (#403) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.3 to 1.20.4. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.20.3...v1.20.4) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * 🐛 Handle finalizers (creation and deletion) better (#411) * 🐛 Handle finalizers (creation and deletion) better Closes [409](https://github.com/operator-framework/catalogd/issues/409) * Move the finalizer setup Move the finalizer setup out from main.go, and into the controller code. This allows the finalizers to be initialized and used in the test code. Signed-off-by: Todd Short <[email protected]> * Undo rename of fbcDeletionFinalizer Signed-off-by: Todd Short <[email protected]> --------- Signed-off-by: Todd Short <[email protected]> Co-authored-by: Todd Short <[email protected]> * ⚠ Status condition cl…
Description
This PR is for a cross-component demo with all OLM v1 repositories. The ginkgo test does the following:
plain+v0
bundles and create catalogs to include the bundles.plain+v0
operator.registry+v1
bundles and create catalogs to include the bundles.registry+v1
operator.Purpose of the E2E tests.
Workflow
Checks to be ensured:
Added new Makefile target/Github action:
operator-developer-e2e
test-e2e
are only for testing the functionality of operator-controller. The new e2e test is meant for an operator-framework e2e or an OLM v1 e2e and to capture the developer experience.How to run
operator-developer-e2e
: Runs the entire E2E setup.test-op-dev-e2e
: Runs the ginkgo test.deploy-local-registry
: Deploys local registrycleanup-local-registry
: Stops and removes local registrykind-cluster-cleanup
: Deletes the kind clusterGetting Started
Below are the input values used in the test.
Building operator-controller, deploying it into the cluster and rest of the configuration is done in the
MakeFile
of this repo under the targetoperator-developer-e2e
. This includes:operator-controller-op-dev-e2e
.opm
,operator-sdk
andkustomize
using bingo.The following structs defined are required as input for both plain+v0 and registry+v1 bundles:
baseFolderPath
- Base/root path of the folder for the specific bundle type input data.[path to plain-v0 or registry-v1 bundles testdata]bundles
- Stores the data relevant to different versions of the bundle.bInputDir
- The input directory containing the specific version of the bundle data.bundleVersion
- The specific version of the bundle data.imageRef
- This is formed. Stores the bundle image reference which will be of the formatlocalhost:5001/<operator_name>-bundle:v.<bundleVersion>
baseFolderPath
- Base/root path of the folder for the catalogs.operatorName
- Name of the operator to be installed from the bundles.desiredChannelName
- Desired channel name for the operator.catalogDir
- This is formed. The directory to store the FBC. The formed value will be of the format:<operator-name>-catalog
imageRef
- This is formed. Stores the FBC image reference which will be of the format:localhost:5001/<username>/<catalogDir>:test
fbcFileName
- Name of the FBC file. This is hard-coded ascatalog.yaml
.For getting information related to the install/upgrade action for operators:
type OperatorActionInfo struct { installVersion string upgradeVersion string }
-
installVersion
- Version of the operator to be installed on the cluster.-
upgradeVersion
- Version of the operator to be upgraded on the cluster.Reviewer Checklist