Skip to content

Commit 7754a14

Browse files
authored
Merge pull request #169 from google/script-readme-update
minor fixes to OKD install script and README
2 parents b265dcb + 791b235 commit 7754a14

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

okd-cluster/4.x/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11

22
## Introduction
33

4-
Following would allow us create a OKD Cluster in the GCP Project
4+
Following would allow us create a OKD Cluster in the GCP Project.
5+
6+
Scripts were tested in a linux machine.
57

68
## Requirements
7-
<ol>
8-
<li>You have owner permission and you have permission to create service account keys for your GCP project.</li>
9-
<li>OC cli, gcloud cli, terraform is installed.</li>
10-
<li>scripts were tested in a linux machine.</li>
11-
<li></li>
12-
</ol>
9+
10+
* You have owner permission and you have permission to create service account keys for your GCP project.
11+
* [OC cli](https://docs.openshift.com/container-platform/4.8/cli_reference/openshift_cli/getting-started-cli.html), [gcloud cli](https://cloud.google.com/sdk/docs/install), [terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli) is installed.
12+
* You own a publicly registered DNS domain for which you can create a public Cloud DNS zone in your Google Cloud project. The setup will dynamically create a public DNS zone in your project.
1313

1414
**Note:**
1515

@@ -68,4 +68,4 @@ Following is what a key creation command may look like:
6868

6969
## Output
7070

71-
After the successfull execution of the `install.sh`, the cluster details like endpoint, username and password will be shared via console logs or you can the `okd-cluster/4.x/install-config/<PROJECT_ID>/<CLUSTER_NAME>` for the logs and credentials including the KUBECONFIG for the okd cluster.
71+
After the successfull execution of the `install.sh`, the cluster details like endpoint, username and password will be shared via console logs or you can the `okd-cluster/4.x/install-config/<PROJECT_ID>/<CLUSTER_NAME>` for the logs and credentials including the KUBECONFIG for the okd cluster.

okd-cluster/4.x/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ else
129129
wget -O openshift-install-linux.tar.gz https://github.com/openshift/okd/releases/download/${OKD_INSTALLABALE_VERSION}/openshift-install-linux-${OKD_INSTALLABALE_VERSION}.tar.gz
130130
tar -xvf openshift-install-linux.tar.gz
131131
chmod +x openshift-install
132+
mkdir -p ${CWD_PATH}/01-projectsetup/okd-installer/${OKD_VERSION}/
132133
mv openshift-install ${CWD_PATH}/01-projectsetup/okd-installer/${OKD_VERSION}/
133134
fi
134135

@@ -153,7 +154,7 @@ else
153154
echo "############################################################"
154155
gcloud iam service-accounts keys create ${SA_JSON_FILENAME} --iam-account=okd-sa@${PROJECT_ID}.iam.gserviceaccount.com
155156
#gcloud iam service-accounts keys create test.json --iam-account=okd-sa@pm-okd-11.iam.gserviceaccount.com
156-
mkdir ${CWD_PATH}/01-projectsetup/sa-keys/${PROJECT_ID}/
157+
mkdir -p ${CWD_PATH}/01-projectsetup/sa-keys/${PROJECT_ID}/
157158
mv ${CWD_PATH}/${SA_JSON_FILENAME} ${CWD_PATH}/01-projectsetup/sa-keys/${PROJECT_ID}/
158159
fi
159160

0 commit comments

Comments
 (0)