Repository navigation
Conversation
|
Hello @akirn, |
This branch has not been deployed
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.
Why are the changes needed?
The chart only exposes a pod-level
securityContext. Fields such asallowPrivilegeEscalation,readOnlyRootFilesystemandcapabilitiesexist only on the containersecurityContext, so clusters whose admission policies require them (for example Pod Security Standards "restricted", or Kyverno/Gatekeeper equivalents) can't run the chart without patching the template. This adds acontainerSecurityContextvalue applied to thekyuubi-servercontainer, as the Apache Polaris and Dagster charts already offer.It also adds an
annotationsvalue for the StatefulSet's own metadata.podAnnotationsonly reaches the pod template, but some controllers read the workload's annotations. For example, Stakater Reloader'secret.reloader.stakater.com/reloadmust be on the StatefulSet to roll the pods when a TLS keystore Secret is renewed, since the Kyuubi server reads its keystore only at startup.Both values default to
{}, so the rendered output is unchanged for existing users.How was this patch tested?
The chart has no unit tests, so this was checked by rendering:
helm lint charts/kyuubipasses.helm template t charts/kyuubiis byte-identical to master.Was this patch assisted by generative AI tooling?
No. The patch wasn't assisted. The description was.
cc @pan3793 @dnskr