Skip to content

Openbao service registration labels/support #746

@s1111m

Description

@s1111m

Preflight Checklist

  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I agree to follow the Code of Conduct.

Problem Description

From openbao 2.2.0 , serviceregistration label's it service with label openbao-active: true.

Operator adds hardcoded selector to service

selectorLs["vault-active"] = "true"

And service cannot select active instance of openbao.

Proposed Solution

As possible solution you can add serviceRegistrationName variable and make selector as "$serviceRegistrationName-active": true

Alternatives Considered

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementCategorizes issue or PR as related to an improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions