Skip to content

Commit

Permalink
Add some helpful aliases (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Hallisey authored and dymurray committed May 10, 2018
1 parent d3b0a12 commit 834b97a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,25 @@ oc get route
If you are running the Broker manually, you must include the Port as well as IP address the Broker is running.
#### Helpful aliases
For automation-broker >= 3.10 ```get-bundle``` will return the list of bundle
CustomResourceDefinitions.
```bash
alias get-bundle='oc get bundle -o custom-columns=Name:spec.fq_name,ID:metadata.name'
```

Return a list of clusterserviceclasses with name, uuid, and the broker they
belong to with ```csc```.
```bash
alias csc='oc get clusterserviceclass -o custom-columns=Name:spec.externalName,externalID:spec.externalID,Broker:spec.clusterServiceBrokerName'
```

```csp``` will return a list of clusterserviceplans with name, uuid, and the
broker they are associated with.
```bash
alias csp='oc get clusterserviceplan -o custom-columns=Name:spec.externalName,externalID:spec.externalID,Broker:spec.clusterServiceBrokerName,ClusterServiceClass:spec.clusterServiceClassRef.name'
```

### More information
* [Design](design.md) - overall design of Ansible Playbook Bundles
* [Developers](developers.md) - in-depth explanation of Ansible Playbook Bundles
Expand Down

0 comments on commit 834b97a

Please sign in to comment.