Skip to content
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

Generated bundle created from make bundle contains separate service-account resource #2749

Closed
phantomjinx opened this issue Nov 15, 2021 · 2 comments
Assignees

Comments

@phantomjinx
Copy link
Contributor

The creation of the operator metadata bundle is conducted using make bundle. The current version of the operator-sdk downloaded to meet this task is 1.5.0. This version allows for both a separate service-account resource and reference to the same service-account in the csv metadata file. Use of the generated bundle fails on openshift due to the OLM implementation being unable to handle the duplicate service-account application.
During an upgrade from 1.6.1 to 1.7.0, 2 CSV resources are generated and the status freezes with 1.6.1 being replacing and 1.7.0 being pending. The install remains at 1.6.1.
An upgrade of the operator-sdk version installed, by default, should correct this by stopping the extra service-account resource from being included in the metadata bundle.

@phantomjinx
Copy link
Contributor Author

phantomjinx added a commit to phantomjinx/camel-k that referenced this issue Nov 16, 2021
* Raises the version to 1.14.0 that ensures that service-accounts used in
  the CSV are not duplicated in any separate resources.

* Provides a warning that if the operator-sdk is already installed then
  print its version and warn the user to check if its below version 1.14
phantomjinx added a commit to phantomjinx/camel-k that referenced this issue Nov 17, 2021
* Raises the version to 1.14.0 that ensures that service-accounts used in
  the CSV are not duplicated in any separate resources.

* Provides a warning that if the operator-sdk is already installed then
  print its version and warn the user to check if its below version 1.14
phantomjinx added a commit to phantomjinx/camel-k that referenced this issue Nov 17, 2021
* Raises the version to 1.14.0 that ensures that service-accounts used in
  the CSV are not duplicated in any separate resources.

* Provides a warning that if the operator-sdk is already installed then
  print its version and warn the user to check if its below version 1.14
phantomjinx added a commit to phantomjinx/camel-k that referenced this issue Nov 22, 2021
* Raises the version to 1.14.0 that ensures that service-accounts used in
  the CSV are not duplicated in any separate resources.

* Provides a warning that if the operator-sdk is already installed then
  print its version and warn the user to check if its below version 1.14
@phantomjinx
Copy link
Contributor Author

Fixed in #2755.
Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant