From 1fd494ade98cb0a984f0c8d18a1cecee131dfab8 Mon Sep 17 00:00:00 2001 From: Moritz Clasmeier Date: Mon, 19 Jan 2026 15:54:29 +0100 Subject: [PATCH] Hide helm support --- README.md | 6 +++++- cmd/deploy.go | 4 ++-- cmd/teardown.go | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4727c86b..96d0cb84 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,11 @@ roxie has been authored with significant AI contributions. - Automated fast ACS teardowns. - Handles Quay image pull secrets automatically. - Verifies image existence before attempting deployment. -- Helm charts supported: use `--helm` to deploy Central and Secured Cluster via Helm. + +Note: Helm charts are currently also supported: use `--helm` to deploy Central and Secured Cluster via Helm. Only +use this in case you have very specific requirements which force you to use the Helm charts directly. +One example would be working on the Helm charts and needing to test them independently of the ACS operator. +Support for Helm charts might be dropped in the future. ## Quick start diff --git a/cmd/deploy.go b/cmd/deploy.go index eb7f2afd..4e12a8d1 100644 --- a/cmd/deploy.go +++ b/cmd/deploy.go @@ -23,14 +23,14 @@ func newDeployCmd() *cobra.Command { Examples: roxie deploy central roxie deploy secured-cluster - roxie deploy both - roxie deploy central --helm`, + roxie deploy both`, ValidArgs: []string{"central", "secured-cluster", "both", "all"}, Args: cobra.MaximumNArgs(1), RunE: runDeploy, } cmd.Flags().BoolVar(&helm, "helm", false, "Deploy using Helm charts instead of operator") + _ = cmd.Flags().MarkHidden("helm") cmd.Flags().BoolVar(&olm, "olm", false, "Deploy operator via OLM (requires OLM installed)") cmd.Flags().BoolVar(&deployOperator, "deploy-operator", true, "Deploy and check operator (set to false to skip operator deployment/checks)") cmd.Flags().BoolVar(&portForwarding, "port-forwarding", false, "Enable localhost port-forward for Central") diff --git a/cmd/teardown.go b/cmd/teardown.go index 25e5b63f..a5d71446 100644 --- a/cmd/teardown.go +++ b/cmd/teardown.go @@ -21,6 +21,7 @@ func newTeardownCmd() *cobra.Command { } cmd.Flags().BoolVar(&helm, "helm", false, "Force teardown of Helm deployment") + _ = cmd.Flags().MarkHidden("helm") cmd.Flags().BoolVar(&singleNamespace, "single-namespace", false, "Deploy all components in a single namespace ('stackrox' by default)") return cmd