Skip to content

OCPBUGS-10431: remove staticPodPath from worker kubelet config#5724

Open
harche wants to merge 1 commit intoopenshift:mainfrom
harche:remove-worker-staticpodpath
Open

OCPBUGS-10431: remove staticPodPath from worker kubelet config#5724
harche wants to merge 1 commit intoopenshift:mainfrom
harche:remove-worker-staticpodpath

Conversation

@harche
Copy link
Contributor

@harche harche commented Mar 2, 2026

- What I did
Removed staticPodPath from the worker node kubelet configuration template.

Fixes: https://issues.redhat.com/browse/OCPBUGS-10431

- How to verify it

  1. Deploy a cluster with this change
  2. SSH into a worker node and verify /etc/kubernetes/kubelet.conf does not contain staticPodPath
  3. SSH into a control plane node and verify staticPodPath: /etc/kubernetes/manifests is still present

- Description for the changelog

Remove staticPodPath from worker kubelet config to resolve DISA STIG V-242397 compliance finding.

Signed-off-by: Harshal Patil <12152047+harche@users.noreply.github.com>
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 2, 2026
@openshift-ci-robot
Copy link
Contributor

@harche: This pull request references Jira Issue OCPBUGS-10431, which is invalid:

  • expected the bug to target the "4.22.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

- What I did
Removed staticPodPath from the worker node kubelet configuration template.

Fixes: https://issues.redhat.com/browse/OCPBUGS-10431

- How to verify it

  1. Deploy a cluster with this change
  2. SSH into a worker node and verify /etc/kubernetes/kubelet.conf does not contain staticPodPath
  3. SSH into a control plane node and verify staticPodPath: /etc/kubernetes/manifests is still present

- Description for the changelog

Remove staticPodPath from worker kubelet config to resolve DISA STIG V-242397 compliance finding.

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 openshift-eng/jira-lifecycle-plugin repository.

@harche
Copy link
Contributor Author

harche commented Mar 2, 2026

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@harche: This pull request references Jira Issue OCPBUGS-10431, which is invalid:

  • expected the bug to target the "4.22.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@harche
Copy link
Contributor Author

harche commented Mar 2, 2026

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 2, 2026
@openshift-ci-robot
Copy link
Contributor

@harche: This pull request references Jira Issue OCPBUGS-10431, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (schoudha@redhat.com), skipping review request.

Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 2, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: harche
Once this PR has been reviewed and has the lgtm label, please assign rphillips for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@harche
Copy link
Contributor Author

harche commented Mar 3, 2026

/retest-required

@harche
Copy link
Contributor Author

harche commented Mar 3, 2026

/retest

@harche
Copy link
Contributor Author

harche commented Mar 3, 2026

/cc @haircommander

@openshift-ci openshift-ci bot requested a review from haircommander March 3, 2026 16:18
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 3, 2026

@harche: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-hypershift de2e5d1 link true /test e2e-hypershift
ci/prow/e2e-aws-ovn de2e5d1 link true /test e2e-aws-ovn
ci/prow/e2e-aws-ovn-upgrade de2e5d1 link true /test e2e-aws-ovn-upgrade

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@haircommander
Copy link
Member

I think a better alternative would be to relax the validation to allow the worker pool to set its static pod path to "" but not control plane. Is this something you want to try @harche ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants