Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed left over documents of deprecated flag '--force' #233

Merged
merged 1 commit into from
Jun 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions docs/guides/memcached/cli/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,6 @@ To delete database with matching labels, use `--selector` flag. The following co
$ kubedb delete memcached -l memcached.kubedb.com/name=memcached-demo
```

To delete all Memcached without following further steps, add flag `--force`

```console
$ kubedb delete memcached -n kube-system --all --force
memcached "memcached-demo" deleted
```

To learn about various options of `delete` command, please visit [here](/docs/reference/kubedb_delete.md).

## Using Kubectl
Expand Down
7 changes: 0 additions & 7 deletions docs/guides/mongodb/cli/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,6 @@ To delete database with matching labels, use `--selector` flag. The following co
$ kubedb delete mongodb -l mongodb.kubedb.com/name=mongodb-demo
```

To delete all MongoDB without following further steps, add flag `--force`

```console
$ kubedb delete mongodb -n kube-system --all --force
mongodb "mongodb-demo" deleted
```

To learn about various options of `delete` command, please visit [here](/docs/reference/kubedb_delete.md).

## Using Kubectl
Expand Down
7 changes: 0 additions & 7 deletions docs/guides/mysql/cli/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,6 @@ To delete database with matching labels, use `--selector` flag. The following co
$ kubedb delete mysql -l mysql.kubedb.com/name=mysql-demo
```

To delete all MySQL without following further steps, add flag `--force`

```console
$ kubedb delete mysql -n kube-system --all --force
mysql "mysql-demo" deleted
```

To learn about various options of `delete` command, please visit [here](/docs/reference/kubedb_delete.md).

## Using Kubectl
Expand Down
6 changes: 5 additions & 1 deletion docs/guides/mysql/initialization/using-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,11 @@ As you can see here, the initial script has successfully created a table named `
To cleanup the Kubernetes resources created by this tutorial, run:

```console
$ kubedb delete my,drmn,snap -n demo --all --force
$ kubectl patch -n demo mysql/mysql-init-script -p '{"spec":{"doNotPause":false}}' --type="merge"
$ kubectl delete -n demo mysql/mysql-init-script

$ kubectl patch -n demo drmn/mysql-init-script -p '{"spec":{"wipeOut":true}}' --type="merge"
$ kubectl delete -n demo drmn/mysql-init-script

$ kubectl delete ns demo
namespace "demo" deleted
Expand Down
7 changes: 0 additions & 7 deletions docs/guides/redis/cli/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,6 @@ To delete database with matching labels, use `--selector` flag. The following co
$ kubedb delete redis -l redis.kubedb.com/name=redis-demo
```

To delete all Redis without following further steps, add flag `--force`

```console
$ kubedb delete redis -n kube-system --all --force
redis "redis-demo" deleted
```

To learn about various options of `delete` command, please visit [here](/docs/reference/kubedb_delete.md).

## Using Kubectl
Expand Down
3 changes: 0 additions & 3 deletions docs/reference/kubedb_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ kubedb delete ([-f FILENAME] | TYPE [(NAME | -l label | --all)]) [flags]
# Delete elasticsearch with label elasticsearch.kubedb.com/name=elasticsearch-demo.
kubedb delete elasticsearch -l elasticsearch.kubedb.com/name=elasticsearch-demo

# Force delete a mysql object
kubedb delete mysql ms-demo --force

# Delete all mysql objects
kubedb delete mysql --all
```
Expand Down
3 changes: 0 additions & 3 deletions pkg/cmds/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ var (
# Delete elasticsearch with label elasticsearch.kubedb.com/name=elasticsearch-demo.
kubedb delete elasticsearch -l elasticsearch.kubedb.com/name=elasticsearch-demo

# Force delete a mysql object
kubedb delete mysql ms-demo --force

# Delete all mysql objects
kubedb delete mysql --all`)
)
Expand Down