Skip to content

Commit

Permalink
Prepare docs for 0.3.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Jul 17, 2017
1 parent c43b7d4 commit e2f478a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/examples/elastic/workloads/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ spec:
metadata:
annotations:
elastic.kubedb.com/version: 2.3.1
pod.alpha.kubernetes.io/init-containers: '[{"name":"discover","image":"kubedb/es-operator:0.3.0","args":["discover","--service=elasticsearch-db","--namespace=default"],"env":[{"name":"POD_NAME","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"metadata.name"}}}],"resources":{},"volumeMounts":[{"name":"discovery","mountPath":"/tmp/discovery"}],"imagePullPolicy":"IfNotPresent"}]'
pod.beta.kubernetes.io/init-containers: '[{"name":"discover","image":"kubedb/es-operator:0.3.0","args":["discover","--service=elasticsearch-db","--namespace=default"],"env":[{"name":"POD_NAME","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"metadata.name"}}}],"resources":{},"volumeMounts":[{"name":"discovery","mountPath":"/tmp/discovery"}],"imagePullPolicy":"IfNotPresent"}]'
pod.alpha.kubernetes.io/init-containers: '[{"name":"discover","image":"kubedb/es-operator:0.3.1","args":["discover","--service=elasticsearch-db","--namespace=default"],"env":[{"name":"POD_NAME","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"metadata.name"}}}],"resources":{},"volumeMounts":[{"name":"discovery","mountPath":"/tmp/discovery"}],"imagePullPolicy":"IfNotPresent"}]'
pod.beta.kubernetes.io/init-containers: '[{"name":"discover","image":"kubedb/es-operator:0.3.1","args":["discover","--service=elasticsearch-db","--namespace=default"],"env":[{"name":"POD_NAME","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"metadata.name"}}}],"resources":{},"volumeMounts":[{"name":"discovery","mountPath":"/tmp/discovery"}],"imagePullPolicy":"IfNotPresent"}]'
creationTimestamp: null
labels:
kubedb.com/kind: Elastic
Expand Down
6 changes: 3 additions & 3 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ KubeDB provides a CLI to work with database objects. Download pre-built binaries

```sh
# Linux amd 64-bit
wget -O kubedb https://github.com/k8sdb/cli/releases/download/0.3.0/kubedb-linux-amd64 \
wget -O kubedb https://github.com/k8sdb/cli/releases/download/0.3.1/kubedb-linux-amd64 \
&& chmod +x kubedb \
&& sudo mv kubedb /usr/local/bin/

# Mac 64-bit
wget -O kubedb https://github.com/k8sdb/cli/releases/download/0.3.0/kubedb-darwin-amd64 \
wget -O kubedb https://github.com/k8sdb/cli/releases/download/0.3.1/kubedb-darwin-amd64 \
&& chmod +x kubedb \
&& sudo mv kubedb /usr/local/bin/
```
Expand Down Expand Up @@ -56,7 +56,7 @@ To upgrade KubeDB cli, just replace the old cli with the new version.
`kubedb init` command can be used to upgrade operator. Re-run the `kubedb init` command with `--upgrade flag` to upgrade operator.

```sh
$ kubedb init --version='0.3.0' --upgrade
$ kubedb init --version='0.3.1' --upgrade

Successfully upgraded operator deployment.
```
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/kubedb_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kubedb init [flags]
kubedb init
# Upgrade operator to use another version.
kubedb init --version=0.3.0 --upgrade
kubedb init --version=0.3.1 --upgrade
```

### Options
Expand All @@ -28,7 +28,7 @@ kubedb init [flags]
--operator-namespace string Name of namespace where operator will be deployed. (default "kube-system")
--rbac If true, uses RBAC with operator and database objects
--upgrade If present, Upgrade operator to use provided version
--version string Operator version (default "0.3.0")
--version string Operator version (default "0.3.1")
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmds/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (
kubedb init
# Upgrade operator to use another version.
kubedb init --version=0.3.0 --upgrade`)
kubedb init --version=0.3.1 --upgrade`)
)

func NewCmdInit(out io.Writer, errOut io.Writer) *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func AddEditFlags(cmd *cobra.Command) {
func AddInitFlags(cmd *cobra.Command) {
cmd.Flags().String("operator-namespace", "kube-system", "Name of namespace where operator will be deployed.")
cmd.Flags().Bool("rbac", false, "If true, uses RBAC with operator and database objects")
cmd.Flags().String("version", "0.3.0", "Operator version")
cmd.Flags().String("version", "0.3.1", "Operator version")
cmd.Flags().Bool("upgrade", false, "If present, Upgrade operator to use provided version")
}

Expand Down

0 comments on commit e2f478a

Please sign in to comment.