Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 84dc529

Browse files
Updated openshift route readme
1 parent ca1800a commit 84dc529

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

examples/openshift-route/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ This module is used to provision a route to an openshift cluster. An [OpenShift
99
provider "ibm" {
1010
}
1111
12-
locals {
13-
# get json
14-
data = jsondecode(var.route_data)
15-
}
16-
1712
data "ibm_satellite_cluster" "cluster" {
1813
name = var.cluster
1914
}
@@ -30,7 +25,7 @@ module "openshift_cluster_route" {
3025

3126
## Note
3227

33-
* To update a openshift route, users has to get the "resourceVersion" parameter value from terraform.tfstate or openshift console file, And add it to 'route_data' variable as a route specification.
28+
* To update a openshift route, users has to get the "resourceVersion" parameter value from terraform.tfstate or openshift console, And add it to 'route_data' variable as a route specification.
3429

3530
``` Route Specfication
3631
{

modules/openshift-route/README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,8 @@
22

33
This module is used to provision a route to an openshift cluster. An [OpenShift route](https://docs.openshift.com/enterprise/3.0/architecture/core_concepts/routes.html) is a way to expose a service by giving it an externally-reachable hostname like www.example.com.
44

5-
## Prerequisite
65

7-
* Set up the IBM Cloud command line interface (CLI), the Satellite plug-in, and other related CLIs.
8-
* Install cli and plugin package
9-
```console
10-
ibmcloud plugin install container-service
11-
```
12-
## Usage
6+
## Example Usage
137

148
```
159
terraform init

0 commit comments

Comments
 (0)