-
Provider credentials
- {cloudProviders.length > 0 ? (
- <>
- {watch('cloud_provider') === CloudProviderEnum.GCP && (
-
-
-
-
-
- GCP integration is beta, keep an eye on your cluster costs and report any bugs and/or weird
- behavior.
-
- Setup budget alerts
-
-
- More details
-
-
-
- )}
-
(
- {
- const currentProvider = cloudProviders?.filter(
- (cloud) => cloud.short_name === value && cloud.regions
- )[0]
- setCurrentProvider(currentProvider as CloudProvider)
- field.onChange(value)
- setResourcesData && setResourcesData(defaultResourcesData)
- }}
- value={field.value}
- error={error?.message}
- portal
- />
- )}
- />
- {currentProvider && (
+
+ {watch('installation_type') === 'MANAGED' && (
+ <>
+
+
General
+
+
+
+
Provider credentials
+ {cloudProviders.length > 0 ? (
<>
+ {watch('cloud_provider') === CloudProviderEnum.GCP && (
+
+
+
+
+
+ GCP integration is beta, keep an eye on your cluster costs and report any bugs and/or weird
+ behavior.
+
+ Setup budget alerts
+
+
+ More details
+
+
+
+ )}
(
{
+ const currentProvider = cloudProviders?.filter(
+ (cloud) => cloud.short_name === value && cloud.regions
+ )[0]
+ setCurrentProvider(currentProvider as CloudProvider)
+ field.onChange(value)
+ setResourcesData && setResourcesData(defaultResourcesData)
+ }}
value={field.value}
error={error?.message}
- isSearchable
portal
/>
)}
/>
-
+ {currentProvider && (
+ <>
+ (
+
+ )}
+ />
+
+ >
+ )}
>
+ ) : (
+
+
+
)}
- >
- ) : (
-
-
- )}
-
+ >
+ )}
+
+ {watch('installation_type') !== 'MANAGED' && (
+
+
Installation instruction
+ {watch('installation_type') === 'LOCAL_DEMO' ? (
+
+ See documentation
+
+ ) : (
+
+ See documentation
+
+ )}
+
+
+ -
+
1. Download/Update Qovery CLI
+
+ Download and install the Qovery CLI (or update its version to the latest version).
+
+
+ https://hub.qovery.com/docs/using-qovery/interface/cli/#install
+
+
+ -
+
2. Install your cluster
+
+ Run the following command from your terminal and follow the instructions.
+
+
+ {watch('installation_type') === 'LOCAL_DEMO' ? (
+ <>
+ $ qovery demo up
+ >
+ ) : (
+ <>
+ $ qovery cluster install
+ >
+ )}
+
+
+ -
+
3. Deploy your first environment!
+
+ Once the installation is completed, get back to the Qovery console and deploy your first environment
+ on your brand new cluster.
+
+
+
+
+ )}
-
+ {watch('installation_type') === 'MANAGED' ? (
+
+ ) : (
+
+ )}
diff --git a/libs/pages/clusters/src/lib/ui/page-clusters-create/step-summary/step-summary.tsx b/libs/pages/clusters/src/lib/ui/page-clusters-create/step-summary/step-summary.tsx
index 47144542376..f39c11741ff 100644
--- a/libs/pages/clusters/src/lib/ui/page-clusters-create/step-summary/step-summary.tsx
+++ b/libs/pages/clusters/src/lib/ui/page-clusters-create/step-summary/step-summary.tsx
@@ -111,6 +111,7 @@ export function StepSummary(props: StepSummaryProps) {
{match(props.generalData.installation_type)
.with('MANAGED', () => 'Managed')
.with('SELF_MANAGED', () => 'Self-Managed')
+ .with('LOCAL_DEMO', () => undefined)
.exhaustive()}
diff --git a/libs/shared/interfaces/src/lib/domain/cluster-creation-flow.interface.ts b/libs/shared/interfaces/src/lib/domain/cluster-creation-flow.interface.ts
index 3db72546e19..4db56d4b86f 100644
--- a/libs/shared/interfaces/src/lib/domain/cluster-creation-flow.interface.ts
+++ b/libs/shared/interfaces/src/lib/domain/cluster-creation-flow.interface.ts
@@ -8,7 +8,7 @@ export interface ClusterGeneralData {
region: string
credentials: string
credentials_name: string
- installation_type: 'MANAGED' | 'SELF_MANAGED'
+ installation_type: 'MANAGED' | 'SELF_MANAGED' | 'LOCAL_DEMO'
}
export interface ClusterKubeconfigData {
diff --git a/tailwind-workspace-preset.js b/tailwind-workspace-preset.js
index 654cd7de389..016e8ff3392 100644
--- a/tailwind-workspace-preset.js
+++ b/tailwind-workspace-preset.js
@@ -88,7 +88,7 @@ const easingFunctions = {
// tailwind-workspace-preset.js
module.exports = {
- darkMode: ['class', '[data-mode="dark"]'],
+ darkMode: ['class'],
theme: {
extend: {
transitionProperty: {