Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overriding the Label in podTemplate when using agent/additionalagents #891

Open
asaphe opened this issue Jul 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@asaphe
Copy link

asaphe commented Jul 5, 2023

Is your feature request related to a problem? Please describe

The issue is that when you specify podLabels it is not used by Jenkins itself and you cannot refer to it in a pipeline. using customJenkinsLabels just appends the labels and doesn't set them.

The default is - label: "{{ .Release.Name }}-{{ .Values.agent.componentName }} {{ .Values.agent.customJenkinsLabels | join " " }}"

this is an issue as it forces us to use very this very long name in a pipeline. the way to workaround this is to use podTemplate instead.

Describe the solution you'd like

It would be great if we could simply override this extremely long label.

Describe alternatives you've considered

using podTemplate but that is a bit more convuluted than the very simple additional agents.

Additional context

No response

@asaphe asaphe added the enhancement New feature or request label Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant