Skip to content

Commit

Permalink
Add namespace to all example manifests (#49)
Browse files Browse the repository at this point in the history
* Add namespace to all example manifests

* Add policies to list of rmq resources in readme
  • Loading branch information
ChunyiLyu committed Mar 12, 2021
1 parent 30c24e8 commit d696ea2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ You can create RabbitMQ resources:
3. [Binding](./docs/examples/bindings)
4. [User](./docs/examples/users)
5. [Vhost](./docs/examples/vhosts)
6. [Policy](./docs/examples/policies)

## Contributing

Expand Down
1 change: 1 addition & 0 deletions docs/examples/bindings/binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: rabbitmq.com/v1alpha1
kind: Binding
metadata:
name: binding
namespace: rabbitmq-system
spec:
vhost: "/test-vhost" # default to '/' if not provided
source: test # an existng exchange
Expand Down
1 change: 1 addition & 0 deletions docs/examples/exchanges/exchange.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: rabbitmq.com/v1alpha1
kind: Exchange
metadata:
name: exchange-example
namespace: rabbitmq-system
spec:
name: example # name of the exchange
vhost: "/test-vhost" # default to '/' if not provided
Expand Down
1 change: 1 addition & 0 deletions docs/examples/queues/quorum-queue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: rabbitmq.com/v1alpha1
kind: Queue
metadata:
name: qq-example
namespace: rabbitmq-system
spec:
name: test # name of the queue
vhost: "/test-vhost" # default to '/' if not provided
Expand Down
1 change: 1 addition & 0 deletions docs/examples/users/user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: rabbitmq.com/v1alpha1
kind: User
metadata:
name: user-sample
namespace: rabbitmq-system
spec:
name: test-user # name of the user
tags:
Expand Down
1 change: 1 addition & 0 deletions docs/examples/vhosts/vhost.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: rabbitmq.com/v1alpha1
kind: Vhost
metadata:
name: vhost-sample
namespace: rabbitmq-system
spec:
name: test-vhost # vhost name
rabbitmqClusterReference:
Expand Down

0 comments on commit d696ea2

Please sign in to comment.