Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add serviceAccount.labels for custom service account labels on helm chart#21048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
rowansmithau wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromrowansmithau/feat/helm_service_account_labels

Conversation

@rowansmithau
Copy link
Contributor

closes#20541

addscoder.serviceAccount.labels var to support custom labels being added to the SA.

Current chart:

➜  helm-service-account-labels git:(rowansmithau/feat/helm_service_account_labels) helm template coder coder-v2/coder --set coder.image.tag=latest --set coder.serviceAccount.labels.mux=isnice | egrep -A13 '^kind: ServiceAccount$'kind: ServiceAccountmetadata:  annotations: {}  labels:    app.kubernetes.io/instance: coder    app.kubernetes.io/managed-by: Helm    app.kubernetes.io/name: coder    app.kubernetes.io/part-of: coder    app.kubernetes.io/version: 2.28.3    helm.sh/chart: coder-2.28.3  name: coder  namespace: default---# Source: coder/templates/rbac.yaml

With this PR:

➜  helm-service-account-labels git:(rowansmithau/feat/helm_service_account_labels) helm template coder helm/coder --set coder.image.tag=latest --set coder.serviceAccount.labels.mux=isnice | egrep -A13 '^kind: ServiceAccount$'kind: ServiceAccountmetadata:  annotations: {}  labels:    app.kubernetes.io/instance: coder    app.kubernetes.io/managed-by: Helm    app.kubernetes.io/name: coder    app.kubernetes.io/part-of: coder    app.kubernetes.io/version: 0.1.0    helm.sh/chart: coder-0.1.0    mux: isnice  name: coder  namespace: default---

A test withdisableCreate=true still correctly shows no SA created:

➜  helm-service-account-labels git:(rowansmithau/feat/helm_service_account_labels) helm template coder helm/coder --set coder.image.tag=latest --set coder.serviceAccount.labels.mux=isnice --set coder.serviceAccount.disableCreate=true | egrep '^kind: ServiceAccount$'

@rowansmithaurowansmithau self-assigned thisDec 2, 2025
@rowansmithaurowansmithau added the helmArea: helm chart labelDec 2, 2025
@rowansmithaurowansmithau marked this pull request as ready for reviewDecember 2, 2025 01:29
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@deansheatherdeansheatherAwaiting requested review from deansheather

At least 1 approving review is required to merge this pull request.

Assignees

@rowansmithaurowansmithau

Labels

helmArea: helm chart

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Feature Request: Add ServiceAccount Labels

2 participants

@rowansmithau

[8]ページ先頭

©2009-2025 Movatter.jp