Repository navigation
[2.0] Fixes #28858: set seccompProfile RuntimeDefault on K8s pipeline pods - #38696
Merged
Merged
Conversation
…34326) * Fixes #28858: set seccompProfile RuntimeDefault on K8s pipeline pods * fix(k8s): configure seccomp from YAML Leave the profile unset by default to preserve existing deployments. Allow runtime and node-local profiles through the pipeline client seccomp parameters. * fix(k8s): expose seccomp via environment Allow env-configured deployments to set K8S_SECCOMP without mounting a custom YAML file. Preserve the nullable map and unset default. --------- Co-authored-by: Stefan Scharlott <stefans@Stefans-MacBook-Pro.local> Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com> (cherry picked from commit 245690d)
gh-bot-collate
Bot
requested review from
TeddyCr
and removed request for
a team
November 25, 2026 13:50
Author
|
🤖 This backport will not merge itself: |
10 tasks done
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.
Automated backport of #34326 to
2.0.245690d04ce7525d33489223c39904fbd186b5daResolution notes
Backport notes: #34326 → 2.0
Backports "Fixes #28858: set seccompProfile RuntimeDefault on K8s pipeline pods"
(merge commit
245690d04ce7525d33489223c39904fbd186b5da) onto2.0.Conflict
Only one file conflicted:
openmetadata-service/src/test/java/org/openmetadata/service/clients/pipeline/k8s/K8sPipelineClientTest.javaThe conflict was limited to the import block. The PR's commit added these
imports right after an existing
import java.net.ConnectException;line:2.0doesn't haveConnectExceptionimported at all in this file (and it'snot referenced anywhere in the file on
2.0— it must back a test that onlyexists on
main, added by some other commit not part of this PR). That importmismatch is what caused the conflict; the rest of the file (including the new
testSeccompConfigurationFromYamlIsSetOnJobparameterized test and the twoassertNull(...SeccompProfile())assertions added totestSecurityContextIsSetOnJob) merged cleanly via 3-way merge since thesurrounding context matched.
Resolution: kept only
StandardCharsets,Files, andPath(the importsthis PR's new test actually needs) and dropped
ConnectException, since it'sunrelated to this change and isn't used anywhere in the
2.0version of thefile.
Non-conflicting files
conf/openmetadata.yaml,K8sPipelineClient.java, andK8sPipelineClientConfig.javaapplied cleanly via cherry-pick with nochanges needed — the new
seccompparameter/config plumbing is additive anddidn't collide with anything on
2.0.What to check by hand
2.0depends on an exception-handlingtest that was supposed to import
ConnectException— a quick grep (doneduring this backport) shows no usage, but worth a second look given it's a
removed import from the incoming side of the conflict.
mvn test-compilein this sandbox (offline, missing MavenCentral artifacts), so the module hasn't been build-verified here — please
run the module's test suite (
mvn test -pl openmetadata-service -Dtest=K8sPipelineClientTest)in CI/locally to confirm the merged test file compiles and passes.
Opened from openmetadata-collate, which holds the credentials needed to open a PR here. It merges itself once this branch's required checks pass — no review needed. If a check fails it stays open and the author of #34326 is asked to look.
resolver run