Skip to content

Commit 71f8d76

Browse files
author
Jeff McCormick
committed
tweak docs and update version to 3.1
1 parent 2a1f2ff commit 71f8d76

File tree

6 files changed

+29
-26
lines changed

6 files changed

+29
-26
lines changed

hugo/content/installation/configuration.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 60
66
---
77

88
:toc:
9-
v3.0, {docdate}
9+
v3.1, {docdate}
1010

1111
== Overview
1212

@@ -37,11 +37,11 @@ deployment.
3737

3838
[WARNING]
3939
====
40-
If you are not using the *demo* namespace, it will be required to edit the following and change the namespace where the service account and cluster role bindings will be deployed.
41-
42-
`$COROOT/deploy/service-account.yaml`
43-
44-
`$COROOT/deploy/cluster-role-binding.yaml`
40+
The CO_NAMESPACE environment variable determines the namespace
41+
that is used within the deployment of the operator. If you
42+
are deploying to the *demo* namespace, the following
43+
should setting should be defined in your .bashrc:
44+
`export CO_NAMESPACE=demo`
4545
====
4646

4747
{{% notice tip %}}

hugo/content/installation/deployment.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 50
66
---
77

88
:toc:
9-
v3.0, {docdate}
9+
v3.1, {docdate}
1010

1111
This document details verifying the installation of the PostgreSQL Operator
1212
is successful, in addition to detailing some different storage configurations
@@ -53,7 +53,7 @@ The complete set of environment variables used in the installation
5353
so far are -
5454
....
5555
export CO_IMAGE_PREFIX=crunchydata
56-
export CO_IMAGE_TAG=centos7-3.0
56+
export CO_IMAGE_TAG=centos7-3.1
5757
export GOPATH=$HOME/odev
5858
export GOBIN=$GOPATH/bin
5959
export PATH=$PATH:$GOBIN
@@ -130,8 +130,8 @@ pgo version
130130
At this point you should be able to connect to the operator as follows -
131131
....
132132
pgo version
133-
pgo client version 3.0
134-
apiserver version 3.0
133+
pgo client version 3.1
134+
apiserver version 3.1
135135
....
136136

137137
Operator commands are documented on the link:/getting-started/[Getting Started] page.

hugo/content/installation/helm-chart.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ draft: false
55
weight: 30
66
---
77

8-
v3.0, {docdate}
8+
v3.1, {docdate}
99

1010
== Helm Chart
1111

1212
First, pull prebuilt versions from Dockerhub of the *postgres-operator* containers,
1313
specify the image versions, and execute the following Makefile target -
1414
....
1515
export CO_IMAGE_PREFIX=crunchydata
16-
export CO_IMAGE_TAG=centos7-3.0
16+
export CO_IMAGE_TAG=centos7-3.1
1717
make pull
1818
....
1919

hugo/content/installation/manual-installation.adoc

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 20
66
---
77

88
:toc:
9-
v3.0, {docdate}
9+
v3.1, {docdate}
1010

1111
== Project Structure
1212

@@ -18,10 +18,16 @@ export CO_NAMESPACE=demo
1818
export CO_CMD=kubectl
1919
export COROOT=$GOPATH/src/github.com/crunchydata/postgres-operator
2020
export CO_IMAGE_PREFIX=crunchydata
21-
export CO_IMAGE_TAG=centos7-3.0
21+
export CO_IMAGE_TAG=centos7-3.1
2222
export CO_BASEOS=centos7
2323
....
2424

25+
When deploying on Openshift Container Platform, the CO_CMD environment
26+
variable should be:
27+
....
28+
export CO_CMD=oc
29+
....
30+
2531
To perform an installation of the operator, first create the project structure as follows on your host, here we assume a local directory called *odev* -
2632
....
2733
mkdir -p $HOME/odev/src $HOME/odev/bin $HOME/odev/pkg
@@ -33,7 +39,7 @@ Next, get a tagged release of the source code -
3339
cd $GOPATH/src/github.com/crunchydata
3440
git clone https://github.com/CrunchyData/postgres-operator.git
3541
cd postgres-operator
36-
git checkout 3.0
42+
git checkout 3.1
3743
....
3844

3945
== Installation Prerequsites
@@ -51,16 +57,13 @@ kubectl config view | grep namespace
5157

5258
[WARNING]
5359
====
54-
If you are not using the *demo* namespace, it will be required to edit the following and change the namespace where the service account and cluster role bindings will be deployed.
55-
56-
`$COROOT/deploy/service-account.yaml`
57-
58-
`$COROOT/deploy/cluster-role-binding.yaml`
60+
The namespace used by the operator is determined by the
61+
CO_NAMESPACE environment variable setting.
5962
====
6063

6164
Permissions are granted to the Operator by means of a Service Account called *postgres-operator*. That service account is added to the Operator deployment.
6265

63-
The postgres-operator service account is granted cluster-admin priviledges using a cluster role binding *postgres-operator-cluster-role-binding*.
66+
The postgres-operator service account is granted priviledges using a role binding *pgo-role-binding*.
6467

6568
See link:https://kubernetes.io/docs/admin/authorization/rbac/[here] for more details on how to enable RBAC roles and modify the scope of the permissions to suit your needs.
6669

@@ -96,10 +99,10 @@ make pull
9699
To pull down the prebuilt *pgo* binaries, download the *tar.gz* release file from the following link -
97100

98101
* link:https://github.com/CrunchyData/postgres-operator/releases[Github Releases]
99-
* extract (e.g. tar xvzf postgres-operator.3.0.tar.gz)
102+
* extract (e.g. tar xvzf postgres-operator.3.1.tar.gz)
100103
....
101104
cd $HOME
102-
tar xvzf ./postgres-operator.3.0.tar.gz
105+
tar xvzf ./postgres-operator.3.1.tar.gz
103106
....
104107
* copy *pgo* client to somewhere in your path (e.g. cp pgo /usr/local/bin)
105108

hugo/content/installation/quick-installation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 10
66
---
77

88
:toc:
9-
v3.0, {docdate}
9+
v3.1, {docdate}
1010

1111
== Overview
1212

hugo/content/installation/upgrading-the-operator.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ draft: false
55
weight: 40
66
---
77

8-
v3.0, {docdate}
8+
v3.1, {docdate}
99

1010
{{%expand "Upgrading from v2.4 to v2.5" %}}
1111

@@ -52,7 +52,7 @@ $COROOT/bin/upgrade-secret.sh
5252

5353
For a full list of additions and revisions that occurred in the
5454
PostgreSQL Operator v2.5 release, please view the related release
55-
page link:https://github.com/CrunchyData/postgres-operator/releases/tag/3.0[here].
55+
page link:https://github.com/CrunchyData/postgres-operator/releases/tag/3.1[here].
5656

5757
== Required Updates
5858

0 commit comments

Comments
 (0)