Skip to content

Instantly share code, notes, and snippets.

@lulf
Last active June 18, 2020 21:35
Show Gist options
  • Save lulf/7b185e22d13368ac3bbbc04b4a61280c to your computer and use it in GitHub Desktop.
Save lulf/7b185e22d13368ac3bbbc04b4a61280c to your computer and use it in GitHub Desktop.
---
apiVersion: enmasse.io/v1beta1
kind: AddressSpace
metadata:
name: space1
spec:
type: brokered
plan: brokered-single-broker
authenticationService:
name: none-authservice
---
apiVersion: enmasse.io/v1beta1
kind: Address
metadata:
name: space1.queue1
spec:
type: queue
plan: brokered-queue
address: queue1
---
apiVersion: enmasse.io/v1beta1
kind: AddressSpace
metadata:
name: space2
spec:
type: standard
plan: standard-unlimited
authenticationService:
name: none-authservice
connectors:
- name: remote1
endpointHosts:
- host: messaging-20cc192.enmasse-infra.svc
port: 5672
credentials:
username:
value: test
password:
value: test
addresses:
- name: p1
pattern: "*"
---
apiVersion: enmasse.io/v1beta1
kind: Address
metadata:
name: space2.topic1
spec:
address: topic1
type: topic
plan: standard-small-topic
---
apiVersion: enmasse.io/v1beta1
kind: Address
metadata:
name: space2.sub1
spec:
address: sub1
type: subscription
plan: standard-small-subscription
topic: topic1
---
apiVersion: enmasse.io/v1beta1
kind: Address
metadata:
name: space2.sub2
spec:
address: sub2
type: subscription
plan: standard-small-subscription
topic: topic1
forwarders:
- name: fwd1
direction: out
remoteAddress: remote1/queue1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment