Skip to content

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
@m1kola m1kola changed the title Fix OLM install modes CLOUDP-333182: Fix OLM install modes Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant