+ {tab === TAB_MAC && 'Start by running this command in your local terminal:'}
+ {tab === TAB_CURL && (
+ <>
+ You can download the binaries attached to our
+
+
+ GitHub releases
+ .
+
+ For example, you can download v0.2.57 for Darwin arm64 via:
+ >
+ )}
+ {tab === TAB_DOCKER && (
+ <>
+ We offer a docker image with the plural cli installed along with all cli dependencies: Terraform, Helm, Kubectl, and all the major cloud CLIs: gcr.io/pluralsh/plural-cli:0.1.1-cloud.
+ We also provide a decent configuration of zsh in it, so you can drive the entire plural workflow in an interactive session.
+ The best strategy is probably to mount the config dir of the cloud provider you're using, like (~/.aws), in the docker run command:
+ >
+ )}
+ {tab === TAB_EC2 && (
+ <>
+ We have EC2 AMI's with plural cli installed, along with all cloud provider clis, terraform, helm and kubectl for those interested in creating a remote environment. A registry of the AMIs can be viewed
+
- {label}
-
- ))}
-
-
-
-
- {tab === TAB_MAC && 'Start by running this command in your local terminal:'}
- {tab === TAB_CURL && (
- <>
- You can download the binaries attached to our
-
-
- GitHub releases
- .
-
- For example, you can download v0.2.57 for Darwin arm64 via:
- >
- )}
- {tab === TAB_DOCKER && (
- <>
- We offer a docker image with the plural cli installed along with all cli dependencies: Terraform, Helm, Kubectl, and all the major cloud CLIs: gcr.io/pluralsh/plural-cli:0.1.1-cloud.
- We also provide a decent configuration of zsh in it, so you can drive the entire plural workflow in an interactive session.
- The best strategy is probably to mount the config dir of the cloud provider you're using, like (~/.aws), in the docker run command:
- >
- )}
- {tab === TAB_EC2 && (
- <>
- We have EC2 AMI's with plural cli installed, along with all cloud provider clis, terraform, helm and kubectl for those interested in creating a remote environment. A registry of the AMIs can be viewed
-
- here
- .
-
-
- If there's interest in images for GCP and Azure, please to give us a shout in our discord or feel free to open a GitHub issue.
-
-
-
- This doc
-
+ here
+ .
+
+
+ If there's interest in images for GCP and Azure, please to give us a shout in our discord or feel free to open a GitHub issue.
+
+
+
+ This doc
+
gives more details on launching AMIs if you are unfamiliar. You'll want to select "Public images" within the ami search bar and you can use the ami id embedded in the artifact_id in our manifests, eg ami-0249247d5fc865089. Be sure to chose the one for the appropriate region.
- >
- )}
-
- {tab === TAB_MAC && (
- <>
- The brew tap will install plural, alongside terraform, helm and kubectl for you.
-
- If you've already installed any of those dependencies, you can add
-
- --without-helm, --without-terraform, or --without-kubectl.
- >
+ {tab !== TAB_EC2 && (
+ <>
+
+ {tab === TAB_MAC
+ ? {currentTab.command} : (
+
+ {currentTab.command}
+
)}
- {tab === TAB_CURL && (
- <>
- You will still need to ensure
-
- Helm
- ,
-
- Terraform
-
+
+
+ {tab === TAB_MAC && (
+ <>
+ The brew tap will install plural, alongside terraform, helm and kubectl for you.
+
+ If you've already installed any of those dependencies, you can add
+
+ --without-helm, --without-terraform, or --without-kubectl.
+ >
+ )}
+ {tab === TAB_CURL && (
+ <>
+ You will still need to ensure
+
+ Helm
+ ,
+
+ Terraform
+
and
-
- Kubectl
-
- are properly installed.
- >
- )}
- {tab === TAB_DOCKER && (
- <>
- Once you're in the container's zsh, you'll want to clone the repository you'll use for your installations state there,
- or alternatively you can clone it outside your container and mount another volume pointing to it.
- >
- )}
-
- >
- )}
-
-
+
+ Kubectl
+
+ are properly installed.
+ >
+ )}
+ {tab === TAB_DOCKER && (
+ <>
+ Once you're in the container's zsh, you'll want to clone the repository you'll use for your installations state there,
+ or alternatively you can clone it outside your container and mount another volume pointing to it.
+ >
+ )}
+
+ >
+ )}
+
- >
+
)
}
diff --git a/www/src/components/shell/onboarding/cloud/CloudBuild.js b/www/src/components/shell/onboarding/cloud/CloudBuild.js
index 11e084495..6eb9ed6e7 100644
--- a/www/src/components/shell/onboarding/cloud/CloudBuild.js
+++ b/www/src/components/shell/onboarding/cloud/CloudBuild.js
@@ -109,6 +109,27 @@ function CloudBuild() {
{status === 'CREATED' ? 'Running' : status === 'ENABLED' | status === 'READY' ? 'Success' : 'Pending'}
+
+ {(!!error || status === 'ENABLED') && (
+
+ )}
+ {status === 'ENABLED' && (
+
+ )}
+
{!!error && (
@@ -120,28 +141,6 @@ function CloudBuild() {
)}
{/* Navigation */}
-
- {(!!error || status === 'ENABLED') && (
-
- )}
- {status === 'ENABLED' && (
-
- )}
-
-
>
)
}
diff --git a/www/src/components/shell/onboarding/cloud/CloudCredentials.js b/www/src/components/shell/onboarding/cloud/CloudCredentials.js
index 2ae04c17c..9e615267e 100644
--- a/www/src/components/shell/onboarding/cloud/CloudCredentials.js
+++ b/www/src/components/shell/onboarding/cloud/CloudCredentials.js
@@ -50,55 +50,52 @@ function CloudCredentials() {
const clouds = growthbook.isOn('azure-cloud-shell') ? CLOUDS : FILTERED_CLOUDS
return (
- <>
-
- {/* Div wrapper needed for bottom padding show up
+
+ {/* Div wrapper needed for bottom padding show up
when content overflows */}
-