Skip to content

Commit 9cba47d

Browse files
Merge pull request #89 from JacekZubielik/mosquitto
chore(password_file): update
2 parents d9cdb82 + 631ea23 commit 9cba47d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

charts/mosquitto/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: 2.0.18
33
description: Eclipse Mosquitto MQTT
44
name: mosquitto
5-
version: 0.0.9
5+
version: 0.0.10
66
type: application
77
keywords:
88
- mqtt

charts/mosquitto/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spec:
4343
initContainers:
4444
- name: init-config
4545
image: busybox
46-
command: ["/bin/cp", "-v", "/tmp/password_file", "/mosquitto/password_file"]
46+
command: ["/bin/cp", "-v", "/tmp/password_file", "/mosquitto/config/password_file"]
4747
securityContext:
4848
runAsNonRoot: false
4949
privileged: true
@@ -108,7 +108,7 @@ spec:
108108
mountPath: /mosquitto/config/mosquitto.conf
109109
subPath: mosquitto.conf
110110
- name: mosquitto-passwd
111-
mountPath: /mosquitto/password_file
111+
mountPath: /mosquitto/config/password_file
112112
subPath: password_file
113113
- name: mosquitto-ca-cert
114114
mountPath: /mosquitto/config/certs/ca.crt
@@ -131,7 +131,7 @@ spec:
131131
items:
132132
- key: password_file
133133
path: password_file
134-
mode: 0777
134+
mode: 0700
135135
- name: mosquitto-conf
136136
configMap:
137137
name: {{ include "app.fullname" . }}

0 commit comments

Comments
 (0)