-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[stable/jenkins] Render agent.nodeSelector in pod template JCasC #22431
Conversation
Skipping CI for Draft Pull Request. |
125dde4
to
961cccc
Compare
@@ -222,6 +222,7 @@ Some third-party systems, e.g. GitHub, use HTML-formatted data in their payload | |||
| `agent.resources` | Resources allocation (Requests and Limits) | `{requests: {cpu: 512m, memory: 512Mi}, limits: {cpu: 512m, memory: 512Mi}}` | | |||
| `agent.volumes` | Additional volumes | `[]` | | |||
| `agent.envVars` | Environment variables for the agent Pod | `[]` | | |||
| `agent.nodeSelector` | Node labels for pod assignment | `{}` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was in values.yaml
but missing in the README
961cccc
to
a70804b
Compare
/assign @torstenwalter |
Merge #22400 first. |
@wmcdona89 #22400 is merged now. Can you fix merge conflicts? PR looks for fine for me. |
Signed-off-by: Aaron McDonald <wmcdona89@gmail.com>
a70804b
to
b78c430
Compare
{{- $key }}={{ tpl $value $ }} | ||
{{- $_ := set $local "first" false }} | ||
{{- end }} | ||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI. I'd kept this similar to the nodeSelector templating in the XML configuration and had updated it to insert a space at the beginning of the "value"
@torstenwalter rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: torstenwalter, wmcdona89 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…m#22431) Signed-off-by: Aaron McDonald <wmcdona89@gmail.com>
* upstream/master: (46 commits) [stable/anchore-engine] Fix upgrade jobs (helm#22451) Update MongoDB Exporter (helm#22241) [stable/efs-provisioner] Add podLabels support (helm#22439) [stable/rabbitmq-ha] add configuration for initContainer (helm#22005) fix: missing labels in secret object (helm#21756) [stable/openebs]: fix README image repository typo (helm#22445) [stable/graylog] Adding option to define environment variables in raw yaml format (helm#22007) [stable/anchore-engine] Allow loading custom CA certificate (helm#22440) [stable/jenkins] Cleanup agent.yamlTemplate rendering in XML config (helm#22124) [stable/spring-cloud-data-flow] Update to new SCDF version 2.5.1 (helm#22438) [stable/neo4j] Deprecated. replacement: https://github.com/neo4j-contrib/neo4j-helm (helm#22437) [stable/jenkins] Render agent.nodeSelector in pod template JCasC (helm#22431) [incubator/sparkoperator] Add webhookNamespaceSelector (helm#22434) [stable/jenkins] Adding override for ingress paths (helm#22400) stable/unifi implements subPath functionality (helm#22432) [stable/prometheus] Add Namespace to applicable Resources (helm#22378) [incubator/patroni] Update patroni to 1.5-p5 (helm#21986) [kube2iam] - add labels to ServiceMonitor (helm#21605) [stable/fluent-bit] Enabling dnsConfig option in the Chart (helm#22419) [stable/jenkins] add k8s plugin config parameters (helm#22403) ...
…m#22431) Signed-off-by: Aaron McDonald <wmcdona89@gmail.com>
…m#22431) Signed-off-by: Aaron McDonald <wmcdona89@gmail.com>
…m#22431) Signed-off-by: Aaron McDonald <wmcdona89@gmail.com> Signed-off-by: Adrien Loiseau <adrien.loiseau@logic-immo.com>
…m#22431) Signed-off-by: Aaron McDonald <wmcdona89@gmail.com> Signed-off-by: Miguel Mingorance <miguel.mingorance@deliveryhero.com>
…m#22431) Signed-off-by: Aaron McDonald <wmcdona89@gmail.com>
What this PR does / why we need it:
Render
agent.nodeSelector
in the kubernetes pod template JCasC.Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer:
helm template
Given the following in stable/jenkins/agent-values.yaml
default JCasC with auto-reload (jcasc-config.yaml)
rendering of
agent.nodeSelector
in kubernetes pod template nodeSelectorhelm install
Jenkins Configure Clouds screenshot
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[stable/mychartname]
)