openshift / openshift/oadp-operator

Move NS priv label to OLM annotations

Open
#1,579 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

lifecycle/frozen
Dominant language
Go
Stars
92
Forks
93
Avg merge
1d 23h
Merged PRs (30d)
43

Description

          We would want to move this work to OLM annotation ([example](https://github.com/search?q=operatorframework.io%2Fsuggested-namespace-template+AND+pod-security.kubernetes.io%2Fenforce&ref=opensearch&type=code)) so we can delete this code.

Originally posted by @kaovilai in https://github.com/openshift/oadp-operator/pull/763#discussion_r1819659155

OLM will label on NS creation for us. We will be able to delete our code for this.

This should not break anything or require new changelog.

Just the ns will be labled before oadp-operator starts running.

examples: https://github.com/search?q=operatorframework.io%2Fsuggested-namespace-template+AND+pod-security.kubernetes.io%2Fenforce&ref=opensearch&type=code

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the code that applies the namespace security label and review the linked OLM annotation examples. Done means OLM owns the label on namespace creation, the operator-side code is removed, and existing behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
infrastructure
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.