Skip to content

Commit

Permalink
Change api versionto v1alpha1 (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha authored Jun 14, 2017
1 parent ff2c394 commit 4b5ab45
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/example/elastic/elastic-init-from-snapshot.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Elastic
metadata:
name: elasticsearch-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/elastic/elastic-with-monitoring.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Elastic
metadata:
name: elasticsearch-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/elastic/elastic-with-scheduled-backup.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Elastic
metadata:
name: elasticsearch-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/elastic/elastic-with-storage.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Elastic
metadata:
name: elasticsearch-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/elastic/elastic.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Elastic
metadata:
name: elasticsearch-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/elastic/snapshot.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Snapshot
metadata:
name: snapshot-xyz
Expand Down
2 changes: 1 addition & 1 deletion docs/example/postgres/postgres-init-from-script.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: postgres-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/postgres/postgres-init-from-snapshot.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: postgres-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/postgres/postgres-with-monitoring.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: postgres-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/postgres/postgres-with-scheduled-backup.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: postgres-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/postgres/postgres-with-storage.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: postgres-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/postgres/postgres.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: postgres-db
Expand Down
2 changes: 1 addition & 1 deletion docs/example/postgres/snapshot.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Snapshot
metadata:
name: snapshot-xyz
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/database/backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ We need to create a Snapshot object to initiate backup process.
Here is a template of Snapshot object

```yaml
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Snapshot
metadata:
name: "snapshot-xyz"
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/database/elastic/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**L**ets create a simple elasticsearch database using following yaml.

```yaml
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Elastic
metadata:
name: elasticsearch-db
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/database/postgres/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**L**ets create a simple postgres database using following yaml.

```yaml
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: postgres-db
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/task/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To get YAML of an object, we can provide `--output=yaml` flag
```bash
$ kubedb get postgres postgres-demo --output=yaml

apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: postgres-demo
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $ kubedb delete <pg|es> database-demo
For deleting this Postgres object, operator will create a DormantDatabase object `database-demo`.

```yaml
apiVersion: kubedb.com/v1beta1
apiVersion: kubedb.com/v1alpha1
kind: DormantDatabase
metadata:
labels:
Expand Down

0 comments on commit 4b5ab45

Please sign in to comment.