pulp / pulp/pulp-operator

Add support for user-defined labels on pulp-web-svc

Open
#1,594 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Triage-Needed
Dominant language
Go
Stars
88
Forks
66
Avg merge
53m
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.
The Pulp Operator currently allows user-defined annotations (service_annotations) on the pulp-web-svc Kubernetes Service, but does not support user-defined labels.
This is a limitation for environments where Services must be selected or controlled using labels, for example when integrating with external controllers (i.e. loadbalancer), which relies on labels.

Describe the solution you'd like
Add support for user-defined labels on the pulp-web-svc Service, configurable via the Pulp custom resource similar to the existing annotation support.

Describe alternatives you've considered
Manually patching the pulp-web-svc Service to add labels, which is overwritten by the operator during reconciliation.

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 tracing the existing service_annotations configuration from the Pulp custom resource through the operator's reconciliation of the pulp-web-svc Service. Identify the schema and reconciliation entry points involved, then verify that user-defined labels are applied and remain after reconciliation. The issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.