Skip to content

Add CredentialIssuer service labels to impersonator Services - #3235

Open
0hlov3 wants to merge 1 commit into
vmware:mainfrom
0hlov3:credentialissuer-service-labels
Open

Add CredentialIssuer service labels to impersonator Services#3235
0hlov3 wants to merge 1 commit into
vmware:mainfrom
0hlov3:credentialissuer-service-labels

Conversation

@0hlov3

@0hlov3 0hlov3 commented Aug 11, 2026

Copy link
Copy Markdown

Add support for configuring custom labels on Concierge impersonation proxy Services through CredentialIssuer.spec.impersonationProxy.service.labels.

The configured labels are merged with Pinniped's existing controller-managed labels and applied to both generated Service types:

  • LoadBalancer
  • ClusterIP

The existing Service reconciliation logic tracks the configured labels as managed labels. This allows CredentialIssuer-provided values to take precedence for managed keys while preserving unrelated labels added by other controllers or users.

This change also:

  • adds validation for Service label keys and values using Kubernetes label validation
  • updates the CredentialIssuer API, CRDs, generated API documentation, and generated deepcopy code
  • extends controller tests to cover custom labels on both LoadBalancer and ClusterIP Services
  • verifies that configured labels participate in the existing Service metadata reconciliation behavior

Fixes #3233

Release note:

The Concierge CredentialIssuer API now supports configuring custom labels on managed impersonation proxy Services using `spec.impersonationProxy.service.labels`.

Wire spec.impersonationProxy.service.labels into generated
LoadBalancer and ClusterIP Service metadata, update generated API
artifacts, and cover label reconciliation in controller tests.

Signed-off-by: 0hlov3 <dev@schoenwald.aero>
@netlify

netlify Bot commented Aug 11, 2026

Copy link
Copy Markdown

Deploy Preview for pinniped-dev canceled.

Name Link
🔨 Latest commit 10a19f9
🔍 Latest deploy log https://app.netlify.com/projects/pinniped-dev/deploys/6a7abd53e28c3d000855b202

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.

Add support for setting custom labels on Concierge impersonation proxy Services through the CredentialIssuer API.

1 participant