-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Failed to run `make bundle with v1.18.0 #5574
Comments
It seems that the change was introduced with #5567. The labels to detect the operator-sdk/internal/cmd/operator-sdk/generate/bundle/bundle.go Lines 322 to 328 in c9c61b6
In csi-addons/kubernetes-csi-addons#122 we replaced those labels with our own, as to not cause confusion or conflicts with components that use the standard labels.This might not have been the best approach, but it seemed the most practical. A recommendation or suggested workaround that makes sense from an operator-framework point of view would be much appreciated. |
Hi @ryantking, Following some questions, in order to be able to check this one. I hope that can help out. Why do we need to use the labels to get the manifests? The logic to ensure that all will be mapped via RELATED_IMAGE should not be valid for all images used? Are we not doing the same for the kube-rbac-proxy? If not, why not? Also, wdyt about creating a sample under testdata dir to scaffold the bundle using this option for we are able to visualize to check its results and be able to easier verify in the review that changes will not affect this feature? (e.g go/v3/digests-operator with an API only) We do not need to call this one in the e2e tests. c/c @jmrodri |
is there a way around this for operators generating bundles using |
I'm interested in a resolution for this as well, as this is a breaking change for all ACK operators. |
No particular reason for it, just staying up-to-date. operator-sdk cannot be updated because of intel#1069 = operator-framework/operator-sdk#5574
Hardcoding these labels in operator-sdk seems like a limitation that should be addressed, in particular because the defaults don't follow the recommended naming scheme. But that aside, which objects should have this label? Looking at the examples under testdata it seems that all (?) have it? |
Add a hack to work around a new inflexible requirement for there to be a Deployment having label "control-plane: controller-manager" with a container called "manager". operator-framework/operator-sdk#5574 Signed-off-by: Richard Wall <[email protected]>
No particular reason for it, just staying up-to-date. operator-sdk cannot be updated because of intel#1069 = operator-framework/operator-sdk#5574 OLM cannot be updated because of operator-framework/operator-sdk#5410
This is fixed in v1.19.1. |
operator-framework/operator-sdk#5574 Signed-off-by: Nitin Goyal <[email protected]>
The new release is said to fix operator-framework/operator-sdk#5574.
The new release is said to fix operator-framework/operator-sdk#5574.
Bug Report
What did you do?
Running
make bundle
on the project with the latest operator SDK is failingWhat did you expect to see?
After updating the operator SDK version the existing
make bundle
should not be breakingmake bundle
is failingWhat did you see instead? Under which circumstances?
Environment
Operator type: go
Kubernetes cluster type:
$ operator-sdk version
v1.18.0$ go version
(if language is Go) go1.17.4$ kubectl version
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: