Skip to content

Commit 834b97a

Browse files
Ryan Halliseydymurray
Ryan Hallisey
authored andcommitted
Add some helpful aliases (#282)
1 parent d3b0a12 commit 834b97a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Diff for: docs/getting_started.md

+19
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,25 @@ oc get route
722722
723723
If you are running the Broker manually, you must include the Port as well as IP address the Broker is running.
724724
725+
#### Helpful aliases
726+
For automation-broker >= 3.10 ```get-bundle``` will return the list of bundle
727+
CustomResourceDefinitions.
728+
```bash
729+
alias get-bundle='oc get bundle -o custom-columns=Name:spec.fq_name,ID:metadata.name'
730+
```
731+
732+
Return a list of clusterserviceclasses with name, uuid, and the broker they
733+
belong to with ```csc```.
734+
```bash
735+
alias csc='oc get clusterserviceclass -o custom-columns=Name:spec.externalName,externalID:spec.externalID,Broker:spec.clusterServiceBrokerName'
736+
```
737+
738+
```csp``` will return a list of clusterserviceplans with name, uuid, and the
739+
broker they are associated with.
740+
```bash
741+
alias csp='oc get clusterserviceplan -o custom-columns=Name:spec.externalName,externalID:spec.externalID,Broker:spec.clusterServiceBrokerName,ClusterServiceClass:spec.clusterServiceClassRef.name'
742+
```
743+
725744
### More information
726745
* [Design](design.md) - overall design of Ansible Playbook Bundles
727746
* [Developers](developers.md) - in-depth explanation of Ansible Playbook Bundles

0 commit comments

Comments
 (0)