CMP-4341: move kubelet rule filepath to /tmp/runtime/openscap-kubeletconfig#14822
Open
Vincent056 wants to merge 1 commit into
Open
CMP-4341: move kubelet rule filepath to /tmp/runtime/openscap-kubeletconfig#14822Vincent056 wants to merge 1 commit into
Vincent056 wants to merge 1 commit into
Conversation
The compliance-operator delivers the runtime kubeletconfig to the scanner via a shared emptyDir mounted at /host/tmp/runtime (mirroring the runtime SSH config), instead of a host symlink under /var/run. A volume mountpoint cannot be created under the read-only host /var/run, and the previous "ln -s" was non-idempotent and failed "Read-only file system" on re-scans. Point the kubelet yamlfile_value checks at the new path. Pairs with compliance-operator change "Deliver runtime kubeletconfig via shared emptyDir instead of a host symlink". CMP-4341
3 tasks
|
@Vincent056: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The compliance-operator delivers the runtime kubeletconfig to the scanner via a shared
emptyDirmounted at/host/tmp/runtime(mirroring the runtime SSH config), instead of a host symlink under/var/run.A volume mountpoint cannot be created under the read-only host
/var/run, and the previous hostln -swas non-idempotent and failedRead-only file systemon re-scans. This moves the kubeletyamlfile_valuechecks to read the config from the new path.Updates the
filepathin all 24 kubelet rules from/var/run/compliance-operator/kubeletconfig/openscap-kubeletconfigto/tmp/runtime/openscap-kubeletconfig.Pairs with compliance-operator PR ComplianceAsCode/compliance-operator#1255 (must merge together — the operator writes the new path, content reads it).
CMP-4341