From 9424b264e03dec994867b5b0d5eecd31dfeb9a7b Mon Sep 17 00:00:00 2001 From: root Date: Fri, 2 Oct 2020 17:09:25 +0200 Subject: [PATCH] Added better user creds --- activemq-artemis.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/activemq-artemis.yaml b/activemq-artemis.yaml index 4970f96..d2e9232 100644 --- a/activemq-artemis.yaml +++ b/activemq-artemis.yaml @@ -53,6 +53,9 @@ spec: volumeMounts: - mountPath: /var/lib/artemis-instance name: activemq-volume + envFrom: + - configMapRef: + name: activemq-config volumes: - name: activemq-volume persistentVolumeClaim: @@ -82,3 +85,14 @@ spec: protocol: TCP selector: app: activemq +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: activemq-config + labels: + app: activemq + namespace: birbnetes +data: + ARTEMIS_USER: birbnetes + ARTEMIS_PASSWORD: de4d2182