You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo -n "do you want to deploy the operator? [yes no] "
127
+
echo -n "Do you want to deploy the operator? [yes no] "
128
128
read REPLY
129
129
if [[ "$REPLY"=="yes" ]];then
130
-
echo"deploy the operator to the Kube cluster"| tee -a $LOG
130
+
echo"Deploying the operator to the Kubernetes cluster..."| tee -a $LOG
131
131
$COROOT/deploy/deploy.sh | tee -a $LOG
132
132
fi
133
133
134
-
echo"install complete"| tee -a $LOG
134
+
echo"Installation complete."| tee -a $LOG
135
135
echo""
136
136
137
137
echo"At this point you can access the operator by using a port-forward command similar to:"
138
138
podname=`kubectl get pod --selector=name=postgres-operator -o jsonpath={..metadata.name}`
139
139
echo"kubectl port-forward "$podname" 18443:8443"
140
-
echo"do this in another terminal or run in the background"
140
+
echo"Do this in another terminal or run in the background."
141
141
142
142
echo""
143
-
echo"WARNING: for the postgres-operator settings to take effect, log out of your session and back in, or reload your .bashrc file"
143
+
echo"WARNING: for the postgres-operator settings to take effect, it will be necessary to log out of your session and back in or reload your .bashrc file."
144
144
145
145
echo""
146
-
echo"NOTE: to access the pgo CLI, place it within your PATH, it is located in $HOME/odev/bin/pgo"
147
-
148
-
146
+
echo"NOTE: In order to access the pgo CLI, it will be necessary to place it within your PATH. The default location after installing is within $HOME/odev/bin/pgo"
sed --in-place=.bak 's/standard/'"$STORAGE_CLASS"'/'$COROOT/conf/apiserver/pgo.yaml
124
-
sed --in-place=.bak 's/demo/'"$PROJECT"'/'$COROOT/deploy/service-account.yaml
125
-
sed --in-place=.bak 's/demo/'"$PROJECT"'/'$COROOT/deploy/rbac.yaml
123
+
sed --in-place=.bak 's/standard/'"$STORAGE_CLASS"'/'$COROOT/conf/apiserver/pgo.yaml
124
+
sed --in-place=.bak 's/demo/'"$PROJECT"'/'$COROOT/deploy/service-account.yaml
125
+
sed --in-place=.bak 's/demo/'"$PROJECT"'/'$COROOT/deploy/rbac.yaml
126
126
127
127
echo""
128
-
echo -n "storage classes can require a fsgroup setting to be specified in the security context of your pods, typically this value is 26 but on some storage providers, this value is blank, enter your fsgroup setting if required or blank if not required: "
128
+
echo -n "Storage classes can require a fsgroup setting to be specified in the security context of your pods. Typically, this value is 26, but on some storage providers this value is blank. Enter your fsgroup setting if required or leave blank if not required: "
129
129
read FSGROUP
130
-
sed --in-place=.bak 's/26/'"$FSGROUP"'/'$COROOT/conf/apiserver/pgo.yaml
130
+
sed --in-place=.bak 's/26/'"$FSGROUP"'/'$COROOT/conf/apiserver/pgo.yaml
131
131
132
132
echo""
133
-
echo"setting up pgo client auth"| tee -a $LOG
133
+
echo"Setting up pgo client authentication..."| tee -a $LOG
134
134
echo"username:password">$HOME/.pgouser
135
135
136
136
echo""
137
-
echo"for pgo bash completion you will need to install the bash-completion package"| tee -a $LOG
137
+
echo"For pgo bash completion you will need to install the bash-completion package."| tee -a $LOG
echo -n "do you want to deploy the operator? [yes no] "
141
+
echo -n "Do you want to deploy the operator? [yes no] "
142
142
read REPLY
143
143
if [[ "$REPLY"=="yes" ]];then
144
-
echo"deploy the operator to the OCP cluster"| tee -a $LOG
144
+
echo"Deploying the operator to the OCP cluster..."| tee -a $LOG
145
145
# $COROOT/deploy/deploy.sh > /dev/null 2> /dev/null | tee -a $LOG
146
146
$COROOT/deploy/deploy.sh | tee -a $LOG
147
147
fi
148
148
149
-
echo"install complete"| tee -a $LOG
149
+
echo"Installation complete."| tee -a $LOG
150
150
echo""
151
151
152
152
echo"At this point you can access the operator by using a port-forward command similar to:"
153
153
podname=`oc get pod --selector=name=postgres-operator -o jsonpath={..metadata.name}`
154
154
echo"oc port-forward "$podname" 18443:8443"
155
-
echo"do this in another terminal or run in the background"
155
+
echo"Do this in another terminal or run in the background."
156
156
157
157
echo""
158
-
echo"WARNING: for the postgres-operator settings to take effect, log out of your session and back in, or reload your .bashrc file"
158
+
echo"WARNING: for the postgres-operator settings to take effect, it will be necessary to log out of your session and back in or reload your .bashrc file."
159
159
160
160
echo""
161
-
echo"NOTE: to access the pgo CLI, place it within your PATH, it is located in$HOME/odev/bin/pgo"
161
+
echo"NOTE: In order to access the pgo CLI, it will be necessary to place it within your PATH. The default location after installing is within$HOME/odev/bin/pgo"
0 commit comments