Skip to content

Commit

Permalink
Merge pull request #84 from JacekZubielik/mosquitto
Browse files Browse the repository at this point in the history
build(mosquitto): 0.0.7
  • Loading branch information
JacekZubielik authored Aug 22, 2024
2 parents 0ca8150 + d503ce1 commit 6f79cbc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion charts/mosquitto/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
44 changes: 22 additions & 22 deletions charts/mosquitto/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6f79cbc

Please sign in to comment.