Skip to content

🐛 fix(helm/v2-alpha): correct indentation of conditional volume mounts#5678

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
felix-kaestner:master
May 12, 2026
Merged

🐛 fix(helm/v2-alpha): correct indentation of conditional volume mounts#5678
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
felix-kaestner:master

Conversation

@felix-kaestner
Copy link
Copy Markdown
Contributor

@felix-kaestner felix-kaestner commented May 6, 2026

The conditional wrappers for webhook-certs and metrics-certs volumes/volumeMounts were placed at the same indent level as the parent key. This caused a YAML parse error when extraVolumeMounts or extraVolumes were populated, since those template directives were at child indent (key + 2 spaces), resulting in mixed indent levels within the same YAML list.

Shift the conditional blocks by 2 additional spaces so that items align with the child indent used by appendToListFromValues.

See #5677.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label May 6, 2026
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 6, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Hi @felix-kaestner. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 6, 2026
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label May 6, 2026
The conditional wrappers for webhook-certs and metrics-certs
volumes/volumeMounts were placed at the same indent level as the
parent key. This caused a YAML parse error when extraVolumeMounts
or extraVolumes were populated, since those template directives
were at child indent (key + 2 spaces), resulting in mixed indent
levels within the same YAML list.

Shift the conditional blocks by 2 additional spaces so that items
align with the child indent used by appendToListFromValues.
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: webhook-certs
readOnly: true
{{- end }}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@camilamacedo86
Copy link
Copy Markdown
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 7, 2026
@camilamacedo86 camilamacedo86 changed the title 🐛 fix(helm/v2-alpha): correct indentation of conditional volume mounts 🐛 fix(helm/v2-alpha): correct indentation of conditional volume mounts May 7, 2026
@felix-kaestner
Copy link
Copy Markdown
Contributor Author

felix-kaestner commented May 8, 2026

Hey @camilamacedo86, could the failing e2e job for k8s 1.36 be related to #5667? I see this job also failing on other PRs, so I think it might not be related to my changes.

@camilamacedo86
Copy link
Copy Markdown
Member

Hey @camilamacedo86, could the failing e2e job for k8s 1.36 be related to #5667? I see this job also failing on other PRs, so I think it might not be related to my changes.

Yes, we need wait release of an Kind image that suppports 1.36 to fix that

@camilamacedo86
Copy link
Copy Markdown
Member

/override pull-kubebuilder-e2e-k8s-1-36-0

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@camilamacedo86: Overrode contexts on behalf of camilamacedo86: pull-kubebuilder-e2e-k8s-1-36-0

Details

In response to this:

/override pull-kubebuilder-e2e-k8s-1-36-0

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Copy Markdown
Member

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 11, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86, felix-kaestner

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 11, 2026
@camilamacedo86
Copy link
Copy Markdown
Member

/override pull-kubebuilder-e2e-k8s-1-36-0

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@camilamacedo86: Overrode contexts on behalf of camilamacedo86: pull-kubebuilder-e2e-k8s-1-36-0

Details

In response to this:

/override pull-kubebuilder-e2e-k8s-1-36-0

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot merged commit 7df59e3 into kubernetes-sigs:master May 12, 2026
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants