.
This commit is contained in:
@@ -13,10 +13,8 @@ data:
|
|||||||
allow_anonymous false
|
allow_anonymous false
|
||||||
password_file /mosquitto/config/passwords
|
password_file /mosquitto/config/passwords
|
||||||
|
|
||||||
# Optional WebSocket support
|
|
||||||
listener 9001
|
listener 9001
|
||||||
protocol websockets
|
protocol websockets
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
@@ -55,18 +53,25 @@ spec:
|
|||||||
- name: websocket
|
- name: websocket
|
||||||
containerPort: 9001
|
containerPort: 9001
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: mosquitto-config
|
||||||
mountPath: /mosquitto/config
|
mountPath: /mosquitto/config/mosquitto.conf
|
||||||
|
subPath: mosquitto.conf
|
||||||
|
readOnly: true
|
||||||
|
- name: mosquitto-passwords
|
||||||
|
mountPath: /mosquitto/config/passwords
|
||||||
|
subPath: passwords
|
||||||
|
readOnly: true
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /mosquitto/data
|
mountPath: /mosquitto/data
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: mosquitto-config
|
||||||
projected:
|
configMap:
|
||||||
sources:
|
name: mosquitto-config
|
||||||
- configMap:
|
defaultMode: 0444
|
||||||
name: mosquitto-config
|
- name: mosquitto-passwords
|
||||||
- secret:
|
secret:
|
||||||
name: mosquitto-passwords
|
secretName: mosquitto-passwords
|
||||||
|
defaultMode: 0444
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: mosquitto-data
|
claimName: mosquitto-data
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
@@ -6,6 +5,5 @@ metadata:
|
|||||||
namespace: mosquitto
|
namespace: mosquitto
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
# generate with: mosquitto_passwd -c passwords frigate && base64 -w0 passwords
|
passwords: ZnJpZ2F0ZTokNyQxMDAwJFNScmNLQXU0b2RQRkFIUGQrVkZlZmhXcDBpRkpsSnV4WmlhTFd4UlN5OFFuMTJrU2d4b0phMDVRWk5FbzR4UHdrckFOZTNrS3U2cTVyOGc2UWZ0TUZ3PT0kYUtnclRvMEwrOStiSVFoWVZEVGpGOEprMm5XdnR1TkpHUmdPVmw2eklTQS9CQU91bXcvK1BmNEVDVy9JMzZmT2RIM0ZyeFUwWm83a3RBVWZGc3J0N2c9PQ==
|
||||||
# asecurefrigate
|
---
|
||||||
passwords: ZnJpZ2F0ZTokNyQxMDAwJFNScmNLQXU0b2RQRkFIUGQrVkZlZmhXcDBpRkpsSnV4WmlhTFd4UlN5OFFuMTJrU2d4b0phMDVRWk5FbzR4UHdrckFOZTNrS3U2cTVyOGc2UWZ0TUZ3PT0kYUtnclRvMEwrOStiSVFoWVZEVGpGOEprMm5XdnR1TkpHUmdPVmw2eklTQS9CQU91bXcvK1BmNEVDVy9JMzZmT2RIM0ZyeFUwWm83a3RBVWZGc3J0N2c9PQ==
|
|
||||||
Reference in New Issue
Block a user