Skip to content

Commit 8fd644d

Browse files
mohitsumandgolovin
authored andcommitted
add devsandbox card
Signed-off-by: Mohit Suman <[email protected]>
1 parent a9cc98f commit 8fd644d

File tree

4 files changed

+48
-12
lines changed

4 files changed

+48
-12
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ OpenShift Connector extension provides an end-to-end developer experience for Re
1919

2020
### Supported OpenShift Clusters
2121

22+
#### Developer Sandbox
23+
24+
The extension allows the users to Get free access to the Developer Sandbox for Red Hat OpenShift. From `Add Cluster View`, users will be redirected to the dev sandbox instance. The sandbox provides you with a private OpenShift environment in a shared, multi-tenant OpenShift cluster that is pre-configured with a set of developer tools.
25+
26+
#### Local instance of OpenShift
27+
2228
This extension can work with local or remote OpenShift clusters.
2329

2430
To provision local instance of OpenShift cluster, developers can use the following options:
@@ -28,6 +34,8 @@ To provision local instance of OpenShift cluster, developers can use the followi
2834

2935
For detail analysis of how to setup and run local OpenShift Cluster using minishift, please follow this [wiki](http://bit.ly/3be4jUv).
3036

37+
#### Public cloud providers
38+
3139
If developers can't run OpenShift cluster locally, the extension can work with remote one provisioned with one of Red Hat products:
3240

3341
* [Red Hat OpenShift Container Platform](http://red.ht/3rUUzoe) - build, deploy and manage your applications across cloud- and on-premise infrastructure
@@ -141,13 +149,13 @@ future releases.
141149

142150
#### Running OpenShift Locally
143151

144-
The extension provides a view to run local instance of OpenShift. To open the view use `Add OpenShift Cluster` button
152+
The extension provides a view to run local instance of OpenShift. To open the view use `Add OpenShift Cluster` button
145153
![ addclusterbutton ](https://raw.githubusercontent.com/redhat-developer/vscode-openshift-tools/master/images/add-cluster-button.gif)
146154
from `OpenShift: Application Explorer` view title.
147155

148156
![ addcluster ](https://raw.githubusercontent.com/redhat-developer/vscode-openshift-tools/master/images/add-cluster.gif)
149157

150-
The view guides you through the steps required to create and start OpenShift 4 single node cluster on your workstation
158+
The view guides you through the steps required to create and start OpenShift 4 single node cluster on your workstation
151159
using Red Hat CodeReady Containers:
152160

153161
* Download Red Hat CodeReady Containers

package-lock.json

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,5 @@
13131313
}
13141314
}
13151315
},
1316-
"extensionDependencies": [
1317-
]
1316+
"extensionDependencies": []
13181317
}

src/view/cluster/app/cluster.tsx

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
ListItemText,
1616
Tooltip,
1717
Typography} from '@material-ui/core';
18-
18+
1919
import AddClusterView from './clusterView';
2020
import clusterStyle from './cluster.style';
2121

@@ -25,20 +25,30 @@ const clusterTypes = [
2525
{
2626
heading: "Deploy it locally on your laptop",
2727
description: "Install on Laptop: Red Hat CodeReady Containers.",
28-
smallInfo: "A minimal, preconfigured Red Hat OpenShift 4 cluster on your laptop or desktop for development and testing.",
28+
smallInfo: "Create a minimal OpenShift 4 cluster on your desktop/laptop for local development and testing.",
2929
imageUrl: ["https://www.openshift.com/hubfs/images/icons/Icon-Red_Hat-Hardware-Laptop-A-Black-RGB.svg"],
30-
urlAlt: "Red Hat OpenShift",
30+
urlAlt: "crc",
3131
redirectLink: "",
3232
buttonText: "Create/Refresh Cluster",
3333
tooltip: "You can create OpenShift cluster using this wizard."
3434
},
35+
{
36+
heading: "Launch Developer Sandbox",
37+
description: "Free access to the Developer Sandbox for Red Hat OpenShift",
38+
smallInfo: "The sandbox provides you with a private OpenShift environment in a shared, multi-tenant OpenShift cluster that is pre-configured with a set of developer tools.",
39+
imageUrl: ["https://assets.openshift.com/hubfs/images/logos/osh/Logo-Red_Hat-OpenShift-A-Standard-RGB.svg"],
40+
urlAlt: "dev sandbox",
41+
redirectLink: "https://developers.redhat.com/developer-sandbox",
42+
buttonText: "Start your OpenShift experience",
43+
tooltip: "Launch your Developer Sandbox for Red Hat OpenShift"
44+
},
3545
{
3646
heading: "Deploy it in your public cloud",
37-
description: "Install Red Hat OpenShift 4 in your account with a supported public cloud providers.",
47+
description: "Install Red Hat OpenShift 4 in your account with supported public cloud providers.",
3848
smallInfo: "This includes Amazon Web Services (AWS), Microsoft Azure, and Google Cloud.",
3949
imageUrl: ["https://www.openshift.com/hubfs/images/logos/logo_aws.svg", "https://www.openshift.com/hubfs/images/logos/logo-try-cloud.svg", "https://www.openshift.com/hubfs/images/logos/logo_google_cloud.svg"],
40-
urlAlt: "Red Hat OpenShift 4",
41-
redirectLink: "https://cloud.redhat.com/openshift/install#public-cloud",
50+
urlAlt: "public cloud",
51+
redirectLink: "https://cloud.redhat.com/openshift/create",
4252
buttonText: "Try it in your cloud",
4353
tooltip: "For complete installation, follow the official documentation."
4454
}
@@ -65,7 +75,7 @@ export default function Header() {
6575
</Typography>
6676
</div>
6777
<CardContent style= {{ height: 240 }}>
68-
<Typography style={{ padding: '10px' }}>
78+
<Typography style={{ padding: '10px', height: '50px' }}>
6979
{list.imageUrl.map((url: string, index: string | number) => (
7080
<img src={url} key={index} style={{ marginLeft: '.625rem', marginRight: '.625rem' }}></img>
7181
))}
@@ -107,7 +117,7 @@ export default function Header() {
107117
{showWizard && (<div className={classes.rowBody}>
108118
<Card className={classes.cardContent}>
109119
<Typography variant="body2" component="p" style={{ padding: 20 }}>
110-
Red Hat CodeReady Containers brings a minimal OpenShift 4.0 or newer cluster to your local laptop or desktop computer.<br></br>You can use this wizard to create OpenShift clusters locally. Clusters take approximately 15 minutes to provision.
120+
Red Hat CodeReady Containers brings a minimal OpenShift 4 cluster on your laptop or desktop computer.<br></br>You can use this wizard to create OpenShift cluster locally. Cluster take approximately 15 minutes to provision.
111121
</Typography>
112122
<AddClusterView />
113123
</Card>

0 commit comments

Comments
 (0)