Skip to content

Fix OLM install modes #277

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

m1kola
Copy link
Contributor

@m1kola m1kola commented Jul 18, 2025

Summary

Currently with OLM we claim to support OwnNamespace, SingleNamespace, and AllNamespaces install modes.

However, only OwnNamespace works properly when deploying OpsManager. With other install modes, the operator is able to reconcile resources and create StatefulSets for the workloads in OpsManager, but pods never become healthy because only the operator's own namespace has the required ServiceAccount.

With this change, we make the relevant ServiceAccount managed by OLM. This means the ServiceAccount and relevant roles will be created in all required namespaces.

Proof of Work

Checklist

  • Have you linked a jira ticket and/or is the ticket in the title?
  • Have you checked whether your jira ticket required DOCSP changes?
  • Have you checked for release_note changes?

Reminder (Please remove this when merging)

  • Please try to Approve or Reject Changes the PR, keep PRs in review as short as possible
  • Our Short Guide for PRs: Link
  • Remember the following Communication Standards - use comment prefixes for clarity:
    • blocking: Must be addressed before approval.
    • follow-up: Can be addressed in a later PR or ticket.
    • q: Clarifying question.
    • nit: Non-blocking suggestions.
    • note: Side-note, non-actionable. Example: Praise
    • --> no prefix is considered a question

Currently with OLM we claim to support `OwnNamespace`, `SingleNamespace`,
and `AllNamespaces` install modes.

However, only `OwnNamespace` works properly when deploying OpsManager.
With other install modes, the operator is able to reconcile resources
and create `StatefulSets` for the workloads in OpsManager,
but pods never become healthy because only the operator's own namespace
has the required `ServiceAccount`.

With this change, we make the relevant `ServiceAccount`
managed by OLM. This means the `ServiceAccount` and relevant roles
will be created in all required namespaces.
@m1kola m1kola force-pushed the fix_olm_installModes branch from 50f3794 to 2370e65 Compare July 18, 2025 16:21
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

Successfully merging this pull request may close these issues.

1 participant