Skip to content

feat: Support extraLabels in Service#1176

Open
mpapadopoullos wants to merge 1 commit intohashicorp:mainfrom
mpapadopoullos:feat/add-extra-labels-to-service
Open

feat: Support extraLabels in Service#1176
mpapadopoullos wants to merge 1 commit intohashicorp:mainfrom
mpapadopoullos:feat/add-extra-labels-to-service

Conversation

@mpapadopoullos
Copy link
Copy Markdown

@mpapadopoullos mpapadopoullos commented Feb 23, 2026

Changes

This PR adds support for a new extraLabels field on the Vault server Service definition in the Helm chart. The goal is to let users attach additional Kubernetes labels to the Service object that exposes the Vault server. This came up as a requirement when using Teleport product to attach the label teleport.dev/name: ...

Currently, it is not possible to attach new labels
See: https://github.com/hashicorp/vault-helm/blob/main/templates/server-service.yaml#L13-L20

Overview:

  • A new value server.service.extraLabels can be defined in the chart’s values.yaml.
  • When set, these labels are merged into the metadata.labels block of the Vault Service resource.
  • This does not change defaults; it only takes effect if users explicitly set the extraLabels field.

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've documented the impact of any changes to security controls.

    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

@mpapadopoullos mpapadopoullos requested a review from a team as a code owner February 23, 2026 09:56
@hashicorp-cla-app
Copy link
Copy Markdown

hashicorp-cla-app Bot commented Feb 23, 2026

CLA assistant check
All committers have signed the CLA.

@mpapadopoullos mpapadopoullos force-pushed the feat/add-extra-labels-to-service branch from 7286f1b to 3bb573c Compare February 23, 2026 10:19
@mpapadopoullos mpapadopoullos force-pushed the feat/add-extra-labels-to-service branch from 3bb573c to adb4b75 Compare February 23, 2026 15:13
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.

1 participant