From 9c61703b1490f1434f773cf66c5b1bfc8fd58f71 Mon Sep 17 00:00:00 2001 From: JacekZubielik Date: Thu, 22 Aug 2024 17:26:12 +0200 Subject: [PATCH] chore(password_file): update --- charts/mosquitto/Chart.yaml | 2 +- charts/mosquitto/templates/deployment.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/mosquitto/Chart.yaml b/charts/mosquitto/Chart.yaml index 0efdf62..77236ee 100644 --- a/charts/mosquitto/Chart.yaml +++ b/charts/mosquitto/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 2.0.18 description: Eclipse Mosquitto MQTT name: mosquitto -version: 0.0.10 +version: 0.0.11 type: application keywords: - mqtt diff --git a/charts/mosquitto/templates/deployment.yaml b/charts/mosquitto/templates/deployment.yaml index 9f68a5b..49c1f0f 100644 --- a/charts/mosquitto/templates/deployment.yaml +++ b/charts/mosquitto/templates/deployment.yaml @@ -43,7 +43,7 @@ spec: initContainers: - name: init-config image: busybox - command: ["/bin/cp", "-v", "/tmp/password_file", "/mosquitto/config/password_file"] + command: ["/bin/cp", "-v", "/tmp/password_file", "/mosquitto/password_file"] securityContext: runAsNonRoot: false privileged: true @@ -57,7 +57,7 @@ spec: image: busybox command: ["/bin/chown", "-R", "1883:1883", "/mosquitto"] securityContext: - runAsUser: 0 + runAsUser: 1883 privileged: true volumeMounts: - name: mosquitto-data @@ -108,7 +108,7 @@ spec: mountPath: /mosquitto/config/mosquitto.conf subPath: mosquitto.conf - name: mosquitto-passwd - mountPath: /mosquitto/config/password_file + mountPath: /mosquitto/password_file subPath: password_file - name: mosquitto-ca-cert mountPath: /mosquitto/config/certs/ca.crt