-
Notifications
You must be signed in to change notification settings - Fork 252
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
opm: Adding bundle to registry with new channel fails and deletes previous bundles #205
Comments
This fails in similar ways when adding a new channel in any form:
|
I am failing to see the issue.
This appears to me to be what we would expect based on the bundle add commands above. |
It appears that an older version may have had an errant default with the |
@shawn-hurley I can still recreate with 1.6.1 for mac: Are you using a custom build? Are you using the right parameters for steps 1 and 4? I wouldn't have expected v1.0.0 to be in the STABLE channel. |
I tried with code from master, I see the same issue. scenario from table1 in Chris #205 (comment)
It's not allowing to specify a upgrade path of |
Chatted with @shawn-hurley and he was able to recreate. |
@shawn-hurley @ecordell I built However, I'm seeing some graph oddities, that I wasn't expecting. Let's say I run
Bridge to a new v1.1 channel which is coming next. This looks as expected:
Now, I want to add a new 1.1.0 version, which I don't want to to be included in the v1.0 channel
This REMOVED the V1.0 channel, which I don't want removed.
What's the proper sequence of
I've built a little test framework to test out adhoc graph scenarios. |
This appears to be somewhat fixed in 1.7. I've opened #258 as a follow-up. |
Using opm 1.5.11
I'm trying to create a scenario where I add a second channel to a registry:
Commands in order:
operator-sdk bundle create quay.io/cdjohnson/testoperator:v1.0.0 --directory ../deploy/olm-catalog/testoperator/1.0.0 --package test-operator --channels BETA --default-channel BETA
docker push quay.io/cdjohnson/testoperator:v1.0.0
opm registry add -b quay.io/cdjohnson/testoperator:v1.0.0 -c docker
The
bundles.db
shows:--channel-entry--
BETA|test-operator|testoperator.v1.0.0
1|BETA|test-operator|testoperator.v1.0.0||0
--operatorbundle--
testoperator.v1.0.0|quay.io/cdjohnson/testoperator:v1.0.0
operator-sdk bundle create quay.io/cdjohnson/testoperator:v1.0.1 --directory ../deploy/olm-catalog/testoperator/1.0.1 --package test-operator --channels BETA,STABLE --default-channel BETA
docker push quay.io/cdjohnson/testoperator:v1.0.1
opm registry add -b quay.io/cdjohnson/testoperator:v1.0.1 -c docker
The
bundles.db
shows:--channel-entry--
--operatorbundle--
testoperator.v1.0.0|quay.io/cdjohnson/testoperator:v1.0.0
CSV Files:
bundles.tar.zip
The text was updated successfully, but these errors were encountered: