feat(kasm): add extraVolumes, extraEnv, and initContainers (upstream PR #32)#59
Open
feat(kasm): add extraVolumes, extraEnv, and initContainers (upstream PR #32)#59
Conversation
Port of kasmtech/kasm-helm#32 (TomGrozev). Adds the ability to specify custom init containers, extra volumes and volume mounts, and extra environment variables for each component (api, proxy, guac, manager, rdp-gw, rdp-https-gw). This enables solving Restricted PSA requirements (writable /tmp, /opt/kasm/current/log) and custom CA bundle injection via values overrides instead of Kustomize post-render patches. Upstream-PR: kasmtech/kasm-helm#32 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
initContainers,extraEnv,extraVolumes,extraVolumeMountsWhy
This is the key PR for eliminating our Kustomize post-render patches. With extraVolumes/extraVolumeMounts, we can inject writable emptyDir mounts for
/tmpand/opt/kasm/current/log(our issue kasmtech/kasm-helm#34 findings 1e/1f) directly through values.yaml. Also enables custom CA bundle injection without template changes.Test plan
helm lint charts/kasmhelm templatewith default values — verify no extra volumes/env in outputhelm templatewith extraVolumes configured — verify volumes appear in correct deploymenthelm templatewith initContainers configured — verify init containers are appended🤖 Generated with Claude Code