Skip to content

Commit 114cb8b

Browse files
author
Jeff McCormick
committed
bump version number and update bash completion file
1 parent 9f22ff3 commit 114cb8b

12 files changed

+59
-27
lines changed

README.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= PostgreSQL Operator
2-
v1.2.0, {docdate}
2+
v1.3.0, {docdate}
33

44
== Overview
55

centos7/Dockerfile.lspvc.centos7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM centos:7
22

3-
LABEL Release="1.2.0" Vendor="Crunchy Data Solutions"
3+
LABEL Release="1.3.0" Vendor="Crunchy Data Solutions"
44

55
RUN yum -y update && yum -y clean all
66

centos7/Dockerfile.postgres-operator.centos7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM centos:7
22

3-
LABEL Release="1.2.0" Vendor="Crunchy Data Solutions"
3+
LABEL Release="1.3.0" Vendor="Crunchy Data Solutions"
44

55
RUN yum -y update && yum -y install hostname && yum -y clean all
66

client/cmd/root.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ func initConfig() {
121121
log.Debug("namespace is " + viper.GetString("NAMESPACE"))
122122
ConnectToKube()
123123

124-
/*
125-
file, err2 := os.Create("/tmp/pgo-bash-completion.out")
126-
if err2 != nil {
127-
log.Error(err2.Error())
128-
}
129-
defer file.Close()
130-
RootCmd.GenBashCompletion(file)
124+
/**
125+
file, err2 := os.Create("/tmp/pgo-bash-completion.out")
126+
if err2 != nil {
127+
log.Error(err2.Error())
128+
}
129+
defer file.Close()
130+
RootCmd.GenBashCompletion(file)
131131
*/
132132

133133
}

docs/build.asciidoc

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= PostgreSQL Operator Build and Setup
2-
v1.2.0, {docdate}
2+
v1.3.0, {docdate}
33

44
== Overview
55

@@ -117,7 +117,7 @@ export GOBIN=$GOPATH/bin
117117
export PATH=$PATH:$GOBIN
118118
export COROOT=$GOPATH/src/github.com/crunchydata/postgres-operator
119119
export CO_BASEOS=centos7
120-
export CO_VERSION=1.2.0
120+
export CO_VERSION=1.3.0
121121
export CO_IMAGE_TAG=$CO_BASEOS-$CO_VERSION
122122
....
123123

@@ -134,16 +134,16 @@ cd postgres-operator
134134
At this point if you want to avoid building the images and binary
135135
from source, you can pull down the Docker images as follows:
136136
....
137-
docker pull crunchydata/lspvc:centos7-1.2.0
138-
docker pull crunchydata/postgres-operator:centos7-1.2.0
137+
docker pull crunchydata/lspvc:centos7-1.3.0
138+
docker pull crunchydata/postgres-operator:centos7-1.3.0
139139
....
140140

141141
Then to get the *pgo* client, go to the Releases page and download the tar ball, uncompress
142142
it into your $HOME directory:
143143
....
144144
cd $HOME
145-
wget https://github.com/CrunchyData/postgres-operator/releases/download/v1.2.0/postgres-operator.1.2.0.tar.gz
146-
tar xvzf ./postgres-operator.1.2.0.tar.gz
145+
wget https://github.com/CrunchyData/postgres-operator/releases/download/v1.3.0/postgres-operator.1.3.0.tar.gz
146+
tar xvzf ./postgres-operator.1.3.0.tar.gz
147147
....
148148

149149
Lastly, add the *pgo* client into your PATH.
@@ -253,8 +253,11 @@ the following:
253253
* show all clusters (*pgo show cluster all*)
254254
* backup a cluster (*pgo backup testcluster*)
255255
* show backup of cluster (*pgo show backup testcluster*)
256+
* show backup pvc of cluster (*pgo show backup testcluster --show-pvc-true*)
257+
* restore a cluster (*pgo create cluster restoredcluster --backup-pvc=testcluster-backup-pvc --backup-path=testcluster-backups/2017-01-01-01-01-01 --secret-from=testcluster*)
258+
* test a cluster (*pgo test restoredcluster*)
259+
* minor upgrade a cluster (*pgo upgrade testcluster*)
260+
* major upgrade a cluster (*pgo upgrade testcluster --upgrade-type=major*)
261+
* clone a cluster (*pgo clone testcluster --name=cloneexample*)
256262
* delete a cluster (*pgo delete cluster testcluster*)
257-
* restore a cluster (*pgo create cluster restoredcluster --backup-pvc=testcluster-backup-pvc --backup-path=testcluster-backups/2017-01-01-01-01-01*)
258-
* minor upgrade a cluster (*pgo create upgrade testcluster*)
259-
* major upgrade a cluster (*pgo create upgrade testcluster --upgrade-type=major*)
260263

docs/config.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= PostgreSQL Operator Configuration
2-
v1.2.0, {docdate}
2+
v1.3.0, {docdate}
33

44

55
This document describes the configuration options
@@ -28,7 +28,7 @@ CLUSTER:
2828
PVC_NAME: crunchy-pvc
2929
PVC_SIZE: 100M
3030
PVC_ACCESS_MODE: ReadWriteMany
31-
CCP_IMAGE_TAG: centos7-9.5-1.4.1
31+
CCP_IMAGE_TAG: centos7-9.6-1.4.1
3232
PORT: 5432
3333
PG_MASTER_USER: master
3434
PG_MASTER_PASSWORD: password
@@ -42,7 +42,7 @@ CLUSTER:
4242
REPLICAS: 2
4343
PGO:
4444
LSPVC_TEMPLATE: /home/youruserid/.pgo.lspvc-template.json
45-
CO_IMAGE_TAG: centos7-1.2.0
45+
CO_IMAGE_TAG: centos7-1.3.0
4646
DEBUG: false
4747
....
4848

docs/design.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= postgres Operator Design
2-
v1.2.0, {docdate}
2+
v1.3.0, {docdate}
33

44
image::crunchy_logo.png?raw=true[]
55

docs/strategies.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= PostgreSQL Operator Deployment Strategies
2-
v1.2.0, {docdate}
2+
v1.3.0, {docdate}
33

44

55
This document describes the various deployment strategies

docs/user-guide.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= postgres Operator User Guide
2-
v1.2.0, {docdate}
2+
v1.3.0, {docdate}
33

44
This document is meant for users and demonstrates
55
the basic interface of the *pgo* command line interface.

examples/pgo-bash-completion

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,31 @@ _pgo_backup()
245245
noun_aliases=()
246246
}
247247

248+
_pgo_clone()
249+
{
250+
last_command="pgo_clone"
251+
commands=()
252+
253+
flags=()
254+
two_word_flags=()
255+
local_nonpersistent_flags=()
256+
flags_with_completion=()
257+
flags_completion=()
258+
259+
flags+=("--name=")
260+
two_word_flags+=("-n")
261+
local_nonpersistent_flags+=("--name=")
262+
flags+=("--config=")
263+
flags+=("--debug")
264+
flags+=("--kubeconfig=")
265+
flags+=("--namespace=")
266+
flags+=("--selector=")
267+
268+
must_have_one_flag=()
269+
must_have_one_noun=()
270+
noun_aliases=()
271+
}
272+
248273
_pgo_create_cluster()
249274
{
250275
last_command="pgo_create_cluster"
@@ -268,6 +293,9 @@ _pgo_create_cluster()
268293
flags+=("--password=")
269294
two_word_flags+=("-w")
270295
local_nonpersistent_flags+=("--password=")
296+
flags+=("--secret-from=")
297+
two_word_flags+=("-s")
298+
local_nonpersistent_flags+=("--secret-from=")
271299
flags+=("--config=")
272300
flags+=("--debug")
273301
flags+=("--kubeconfig=")
@@ -599,6 +627,7 @@ _pgo()
599627
last_command="pgo"
600628
commands=()
601629
commands+=("backup")
630+
commands+=("clone")
602631
commands+=("create")
603632
commands+=("delete")
604633
commands+=("scale")

0 commit comments

Comments
 (0)