diff --git a/charts/mosquitto/Chart.yaml b/charts/mosquitto/Chart.yaml index 514df07..1708b0b 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.4 +version: 0.0.5 type: application keywords: - mqtt diff --git a/charts/mosquitto/templates/deployment.yaml b/charts/mosquitto/templates/deployment.yaml index cfbcf4c..2b4dd0e 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: @@ -107,9 +107,9 @@ spec: - name: mosquitto-conf mountPath: /mosquitto/config/mosquitto.conf subPath: mosquitto.conf - - name: mosquitto-passwd - mountPath: /mosquitto/password_file - subPath: password_file + # - name: mosquitto-passwd + # mountPath: /mosquitto/password_file + # subPath: password_file - name: mosquitto-ca-cert mountPath: /mosquitto/config/certs/ca.crt subPath: ca.crt