From 01a840b640cf7f221540f86d69028c578f475ff8 Mon Sep 17 00:00:00 2001 From: JacekZubielik Date: Thu, 22 Aug 2024 15:53:57 +0200 Subject: [PATCH 1/2] build(mosquitto): 0.0.7 --- charts/mosquitto/templates/deployment.yaml | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/charts/mosquitto/templates/deployment.yaml b/charts/mosquitto/templates/deployment.yaml index 0850828..ec23496 100644 --- a/charts/mosquitto/templates/deployment.yaml +++ b/charts/mosquitto/templates/deployment.yaml @@ -40,28 +40,28 @@ spec: runAsGroup: {{ .Values.securityContext.runAsGrop }} fsGroup: {{ .Values.securityContext.fsGroup }} {{- end }} - # initContainers: - # - name: init-config - # image: busybox - # command: ["/bin/cp", "-v", "/tmp/password_file", "/mosquitto/password_file"] - # securityContext: - # runAsNonRoot: false - # privileged: true - # volumeMounts: - # - name: mosquitto-passwd - # mountPath: /tmp/password_file - # subPath: password_file - # - name: mosquitto-data - # mountPath: /mosquitto - # - name: setup-permissions - # image: busybox - # command: ["/bin/chown", "-R", "1883:1883", "/mosquitto"] - # securityContext: - # runAsUser: 0 - # privileged: true - # volumeMounts: - # - name: mosquitto-data - # mountPath: /mosquitto + initContainers: + - name: init-config + image: busybox + command: ["/bin/cp", "-v", "/tmp/password_file", "/mosquitto/password_file"] + securityContext: + runAsNonRoot: false + privileged: true + volumeMounts: + - name: mosquitto-passwd + mountPath: /tmp/password_file + subPath: password_file + - name: mosquitto-data + mountPath: /mosquitto + - name: setup-permissions + image: busybox + command: ["/bin/chown", "-R", "1883:1883", "/mosquitto"] + securityContext: + runAsUser: 0 + privileged: true + volumeMounts: + - name: mosquitto-data + mountPath: /mosquitto containers: - name: {{ .Chart.Name }} securityContext: From d503ce18316ce076729e84992c19f14510bf5591 Mon Sep 17 00:00:00 2001 From: JacekZubielik Date: Thu, 22 Aug 2024 15:56:16 +0200 Subject: [PATCH 2/2] fix(chart): ver --- charts/mosquitto/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/mosquitto/Chart.yaml b/charts/mosquitto/Chart.yaml index 6709cef..a3d8d38 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.6 +version: 0.0.7 type: application keywords: - mqtt