Created
August 6, 2019 09:14
-
-
Save darahayes/67de1acba4ed5a36dcffd7360c2f2211 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Template | |
labels: | |
template: ionic-showcase-server | |
metadata: | |
name: datasync-showcase-server | |
annotations: | |
openshift.io/display-name: AMQ Resources Template | |
tags: sync, mobile, nodejs | |
iconClass: icon-nodejs | |
openshift.io/provider-display-name: Red Hat, Inc. | |
openshift.io/documentation-url: https://docs.aerogear.org/aerogear/latest/data-sync.html#sync-server-openshift | |
openshift.io/support-url: https://access.redhat.com | |
template.openshift.io/bindable: 'false' | |
objects: | |
- apiVersion: enmasse.io/v1beta1 | |
kind: AddressSpace | |
metadata: | |
name: showcase | |
spec: | |
type: brokered | |
plan: brokered-single-broker | |
- apiVersion: enmasse.io/v1beta1 | |
kind: Address | |
metadata: | |
name: showcase.tasks # must have be in format <address space name>.<queuename> | |
spec: | |
address: tasks | |
type: topic | |
plan: brokered-topic | |
- apiVersion: user.enmasse.io/v1beta1 | |
kind: MessagingUser | |
metadata: | |
name: showcase.${AMQ_USERNAME} | |
spec: | |
username: ${AMQ_USERNAME} | |
authentication: | |
type: password | |
password: ${AMQ_USER_PASSWORD} | |
authorization: | |
- addresses: ["*"] | |
operations: ["send", "recv"] | |
parameters: | |
- description: Messaging user created in AMQ Online. The showcase server will authenticate with AMQ as this user. | |
displayName: AMQ Messaging User Name | |
name: AMQ_USERNAME | |
value: showcase-messaging-user | |
- description: Create your own password with `$ echo <password> | base64` - the default password is Password1 | |
displayName: AMQ Messaging User Password | |
name: AMQ_USER_PASSWORD | |
value: UGFzc3dvcmQx # (base64 encoded) Password1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment