Skip to content

How to install dependent operator using OLM way #6900

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

Open
tbhagwat16 opened this issue Jan 22, 2025 · 1 comment
Open

How to install dependent operator using OLM way #6900

tbhagwat16 opened this issue Jan 22, 2025 · 1 comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@tbhagwat16
Copy link

tbhagwat16 commented Jan 22, 2025

Type of question How to install dependent operator using OLM way

Hi All, Sorry if this question is already asked, but I have checked google and github but did not get the required answer. My operator A is dependent on operator B and C. Before operator A gets install, I want to install operator B and C.

I have defined dependencies.yaml under bundle/metadata folder but what to do next? I am not getting the steps on google.

Thank you in advance.

Question

What did you do?

Hi All, Sorry if this question is already asked, but I have checked google and github but did not get the required answer. My operator A is dependent on operator B and C. Before operator A gets install, I want to install operator B and C.

I have defined dependencies.yaml under bundle/metadata folder but what to do next? I am not getting the steps on google.

Thank you in advance.

What did you expect to see?

Whatever I have defined in the dependecies.yaml is getting reflected in operator CSV and when I try to install operator A, operator B and C should get installed.

What did you see instead? Under which circumstances?

No changes in CSV and installation

Environment

Operator type:

Kubernetes cluster type:

Openshift
tejshribhagwat@Tejshris-MacBook-Pro Documents % operator-sdk version
operator-sdk version: "v1.38.0", commit: "0735b20c84e5c33cda4ed87daa3c21dcdc01bb79", kubernetes version: "v1.30.0", go version: "go1.23.3", GOOS: "darwin", GOARCH: "arm64"
tejshribhagwat@Tejshris-MacBook-Pro Documents % go version
go version go1.23.4 darwin/arm64
tejshribhagwat@Tejshris-MacBook-Pro Documents % kubectl version
Client Version: v1.32.0
Kustomize Version: v5.5.0
error: You must be logged in to the server (the server has asked for the client to provide credentials)

Additional context

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

2 participants