From 8e89c239cb69f0142539ea9432bb2270f73cdc40 Mon Sep 17 00:00:00 2001 From: bhearn Date: Fri, 24 Jul 2020 12:22:16 -0600 Subject: [PATCH 1/2] update instructions --- README.md | 9 ++++++++- deployment/activemq-deployment.yaml | 2 +- deployment/jetty-realm.properties | 9 +++++++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ec43515..e3a4653 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,14 @@ docker load -i *tarball* kubectl create ns active-mq ``` -2. Modify _jetty-realm.properties_ in the 'deployment' directory of this repo to use your own custom usernames and passwords. +2. **Modify _jetty-realm.properties_ in the 'deployment' directory of this repo to use your own custom usernames and passwords:** +``` +# Example admin account: +admin_username: <<>>, admin +# +# Example guest user: +guest_username: <<>>, guest +``` 3. Create a secret using your _jetty-realm.properties_ file: ``` diff --git a/deployment/activemq-deployment.yaml b/deployment/activemq-deployment.yaml index 21850fa..0fc2e08 100644 --- a/deployment/activemq-deployment.yaml +++ b/deployment/activemq-deployment.yaml @@ -27,7 +27,7 @@ spec: cpu: 400m volumeMounts: - name: active-creds - mountPath: /apache-activemq-5.15.13/conf/jetty-realm.properties + mountPath: /apache-activemq-5.15.13/conf/jetty-realm.properties # *** Modify jetty-realm.properties to use your own custom usernames and passwords FIRST *** subPath: jetty-realm.properties volumes: - name: active-creds diff --git a/deployment/jetty-realm.properties b/deployment/jetty-realm.properties index 2b14d59..31f84b9 100644 --- a/deployment/jetty-realm.properties +++ b/deployment/jetty-realm.properties @@ -1,3 +1,8 @@ +# The following configuration file defines the appropriate users within ActiveMQ # username: password, role -admin_username: admin_pass, admin -guest_user: guest_pass, guest \ No newline at end of file +# +# Example admin account: +admin_username: <<>>, admin +# +# Example guest user: +guest_username: <<>>, guest \ No newline at end of file -- GitLab From 2d00b7fee39d4ab85da016412cae108c6669a0b6 Mon Sep 17 00:00:00 2001 From: bhearn Date: Fri, 24 Jul 2020 12:27:20 -0600 Subject: [PATCH 2/2] update instructions --- README.md | 2 +- deployment/activemq-deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3a4653..eb46551 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ docker load -i *tarball* kubectl create ns active-mq ``` -2. **Modify _jetty-realm.properties_ in the 'deployment' directory of this repo to use your own custom usernames and passwords:** +2. Modify _jetty-realm.properties_ in the 'deployment' directory of this repo to use your own custom usernames and passwords. **This file MUST be configured with proper values in order to deploy**: ``` # Example admin account: admin_username: <<>>, admin diff --git a/deployment/activemq-deployment.yaml b/deployment/activemq-deployment.yaml index 0fc2e08..004b75c 100644 --- a/deployment/activemq-deployment.yaml +++ b/deployment/activemq-deployment.yaml @@ -27,7 +27,7 @@ spec: cpu: 400m volumeMounts: - name: active-creds - mountPath: /apache-activemq-5.15.13/conf/jetty-realm.properties # *** Modify jetty-realm.properties to use your own custom usernames and passwords FIRST *** + mountPath: /apache-activemq-5.15.13/conf/jetty-realm.properties # jetty-realm.properties MUST be configured with proper values first in order to deploy subPath: jetty-realm.properties volumes: - name: active-creds -- GitLab