Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions examples/openshift-route/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ This module is used to provision a route to an openshift cluster. An [OpenShift
provider "ibm" {
}

locals {
# get json
data = jsondecode(var.route_data)
}

data "ibm_satellite_cluster" "cluster" {
name = var.cluster
}
Expand All @@ -30,7 +25,7 @@ module "openshift_cluster_route" {

## Note

* 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.
* 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.

``` Route Specfication
{
Expand Down
8 changes: 1 addition & 7 deletions modules/openshift-route/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@

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.

## Prerequisite

* Set up the IBM Cloud command line interface (CLI), the Satellite plug-in, and other related CLIs.
* Install cli and plugin package
```console
ibmcloud plugin install container-service
```
## Usage
## Example Usage

```
terraform init
Expand Down