You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refac(cs-flags): Split experiments into internal and preview (#544)
Also enabled `workspace-ssh` preview flag by default (was handed over to
SRE yesterday).
---------
Signed-off-by: Nathanael Ruf <nathanael@codesphere.com>
flags.StringVar(&bootstrapGcpCmd.InputRegistryType, "registry-type", "local-container", "Container registry type to use (options: local-container, artifact-registry) (default: local-container)")
100
-
flags.StringArrayVar(&bootstrapGcpCmd.CodesphereEnv.Experiments, "experiments", gcp.DefaultExperiments, "Experiments to enable in Codesphere installation (optional)")
101
-
flags.StringArrayVar(&bootstrapGcpCmd.FeatureFlagList, "feature-flags", []string{}, "Feature flags to enable in Codesphere installation (optional)")
102
+
flags.StringArrayVar(&bootstrapGcpCmd.CodesphereEnv.InternalFlags, "internal-flags", gcp.DefaultInternalFlags, "Internal flags to enable in Codesphere installation (optional)")
103
+
flags.StringArrayVar(&bootstrapGcpCmd.experiments, "experiments", []string{}, "Deprecated: use --internal-flags instead. Values are added to the internal flags.")
flags.StringVar(&bootstrapLocalCmd.CodesphereEnv.BaseDomain, "base-domain", "cs.local", "Base domain for Codesphere")
78
-
flags.StringArrayVar(&bootstrapLocalCmd.CodesphereEnv.Experiments, "experiments", gcp.DefaultExperiments, "Experiments to enable in Codesphere installation (optional)")
79
-
flags.StringArrayVar(&bootstrapLocalCmd.FeatureFlagList, "feature-flags", []string{}, "Feature flags to enable in Codesphere installation (optional)")
81
+
flags.StringArrayVar(&bootstrapLocalCmd.CodesphereEnv.InternalFlags, "internal-flags", gcp.DefaultInternalFlags, "Internal flags to enable in Codesphere installation (optional)")
82
+
flags.StringArrayVar(&bootstrapLocalCmd.experiments, "experiments", []string{}, "Deprecated: use --internal-flags instead. Values are added to the internal flags.")
flags.StringArrayVar(&bootstrapLocalCmd.CodesphereEnv.PreviewFlags, "preview-flags", gcp.DefaultPreviewFlags, "Preview flags to enable in Codesphere installation (optional)")
85
+
flags.StringArrayVar(&bootstrapLocalCmd.CodesphereEnv.FeatureFlags, "feature-flags", gcp.DefaultFeatureFlags, "Feature flags to enable in Codesphere installation (optional)")
80
86
flags.StringVar(&bootstrapLocalCmd.CodesphereEnv.Profile, "profile", installer.PROFILE_DEV, "Profile to apply to the install config like resources (supported: dev, minimal, prod)")
81
87
flags.BoolVar(&bootstrapLocalCmd.CodesphereEnv.K0s, "k0s", false, "Use k0s-specific configuration (required to deploy to k0s clusters)")
--argocd After infra setup: install ArgoCD, update the OCI pull secret, and install pc-apps from the BOM version
20
-
--base-domain string Base domain for Codesphere (default "cs.local")
21
-
--experiments stringArray Experiments to enable in Codesphere installation (optional) (default [headless-services,vcluster,custom-service-image,ms-in-ls,secret-management,sub-path-mount])
22
-
--feature-flags stringArray Feature flags to enable in Codesphere installation (optional)
23
-
-h, --help help for bootstrap-local
24
-
--install-config string Path to install config file (default: <install-dir>/config.yaml)
25
-
--install-dir string Directory for config, secrets, and bundle files (default ".installer")
26
-
--install-hash string Codesphere package hash (required when install-version is set)
27
-
--install-local string Path to a local installer package (tar.gz or unpacked directory)
28
-
--install-version string Codesphere version to install (downloaded from the OMS portal)
29
-
--k0s Use k0s-specific configuration (required to deploy to k0s clusters)
30
-
--pod-cidr string Service CIDR of the Kubernetes cluster. If not specified, OMS will try to determine it.
31
-
--profile string Profile to apply to the install config like resources (supported: dev, minimal, prod) (default "dev")
32
-
--registry-url string OCI registry URL used for the ArgoCD helm pull secret (only relevant with --argocd) (default "oci://ghcr.io/codesphere-cloud/charts")
--secrets-file string Path to secrets file (default: <install-dir>/prod.vault.yaml)
35
-
--service-cidr string Service CIDR of the Kubernetes cluster. If not specified, OMS will try to determine it.
36
-
-y, --yes Auto-approve the local bootstrapping warning prompt
19
+
--argocd After infra setup: install ArgoCD, update the OCI pull secret, and install pc-apps from the BOM version
20
+
--base-domain string Base domain for Codesphere (default "cs.local")
21
+
--feature-flags stringArray Feature flags to enable in Codesphere installation (optional)
22
+
-h, --help help for bootstrap-local
23
+
--install-config string Path to install config file (default: <install-dir>/config.yaml)
24
+
--install-dir string Directory for config, secrets, and bundle files (default ".installer")
25
+
--install-hash string Codesphere package hash (required when install-version is set)
26
+
--install-local string Path to a local installer package (tar.gz or unpacked directory)
27
+
--install-version string Codesphere version to install (downloaded from the OMS portal)
28
+
--internal-flags stringArray Internal flags to enable in Codesphere installation (optional) (default [headless-services,vcluster,custom-service-image,ms-in-ls])
29
+
--k0s Use k0s-specific configuration (required to deploy to k0s clusters)
30
+
--pod-cidr string Service CIDR of the Kubernetes cluster. If not specified, OMS will try to determine it.
31
+
--preview-flags stringArray Preview flags to enable in Codesphere installation (optional) (default [secret-management,sub-path-mount,workspace-ssh])
32
+
--profile string Profile to apply to the install config like resources (supported: dev, minimal, prod) (default "dev")
33
+
--registry-url string OCI registry URL used for the ArgoCD helm pull secret (only relevant with --argocd) (default "oci://ghcr.io/codesphere-cloud/charts")
0 commit comments