Added better user creds

This commit is contained in:
root 2020-10-02 17:09:25 +02:00
parent 2d0724e21d
commit 9424b264e0

View File

@ -53,6 +53,9 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /var/lib/artemis-instance - mountPath: /var/lib/artemis-instance
name: activemq-volume name: activemq-volume
envFrom:
- configMapRef:
name: activemq-config
volumes: volumes:
- name: activemq-volume - name: activemq-volume
persistentVolumeClaim: persistentVolumeClaim:
@ -82,3 +85,14 @@ spec:
protocol: TCP protocol: TCP
selector: selector:
app: activemq app: activemq
---
apiVersion: v1
kind: ConfigMap
metadata:
name: activemq-config
labels:
app: activemq
namespace: birbnetes
data:
ARTEMIS_USER: birbnetes
ARTEMIS_PASSWORD: de4d2182