feat: Add Helm installation method for Chaos Infrastructure#5383
Open
akhilmukkara wants to merge 4 commits intolitmuschaos:masterfrom
Open
feat: Add Helm installation method for Chaos Infrastructure#5383akhilmukkara wants to merge 4 commits intolitmuschaos:masterfrom
akhilmukkara wants to merge 4 commits intolitmuschaos:masterfrom
Conversation
- Added HelmInstallationCommand component to display Helm installation commands - Modified KubernetesChaosInfrastructureGreenfield to include tabs for Manifest and Helm installation methods - Auto-populated Helm commands with infraID, accessKey, projectID, and other required values - Added prerequisites and verification instructions for Helm installation Fixes litmuschaos#4897 Signed-off-by: akhilmukkara <akhil.mukkara@gmail.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.
Fixes #4897
Proposed changes
This PR implements a new Helm installation method for deploying Chaos Infrastructure, as requested in #4897.
Users can now choose between Manifest (kubectl) or Helm installation methods when deploying Chaos Infrastructure through the ChaosCenter UI.
Changes Made
HelmInstallationCommandComponentLocation:
src/components/HelmInstallationCommand/Location:
src/views/KubernetesChaosInfrastructureGreenfield/How It Works
When deploying Chaos Infrastructure, users now see two tabs:
Manifest Tab: Original kubectl apply method (unchanged)
Helm Tab: New Helm installation with auto-generated command:
All values are automatically populated from user inputs and environment context.
Types of changes
What types of changes does your code introduce to Litmus? Put an
xin the boxes that applyChecklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Dependency
Testing & Verification
✅ Successfully tested in live GKE environment:
Visual Rendering: Tabs display correctly in the infrastructure deployment screen
Tab Switching: Smooth transition between "Manifest" and "Helm" tabs
Helm Command Generation: All values (infraID, accessKey, projectID, etc.) are correctly auto-populated
Copy-to-Clipboard: Functionality works as expected
UI/UX Flow: Intuitive user experience maintained
No Breaking Changes: Existing Manifest tab functionality preserved completely
Testing Environment:
Deployed LitmusChaos via Helm on Google Kubernetes Engine (GKE)
Tested with Kubernetes v1.28+
Verified all MongoDB read/write operations working correctly
No console errors or backend issues detected
Implementation Details:
Used string concatenation for TypeScript compatibility
Followed existing component patterns (CodeBlock, Layout, Text from @harnessio/uicore)
Helm chart (litmuschaos/litmus-agent) is production-ready and maintained by the LitmusChaos team