Skip to content

Commit

Permalink
chore(bump): to 0.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
JacekZubielik committed Aug 22, 2024
1 parent e5714aa commit 9b5a92c
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 34 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.13
version: 0.0.14
type: application
keywords:
- mqtt
Expand Down
2 changes: 1 addition & 1 deletion charts/mosquitto/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ app.kubernetes.io/instance: {{ .Release.Name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}
{{- end }}
58 changes: 29 additions & 29 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 Expand Up @@ -125,13 +125,13 @@ spec:
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
- name: mosquitto-passwd
secret:
secretName: mosquitto-secrets
items:
- key: password_file
path: password_file
mode: 0640
# - name: mosquitto-passwd
# secret:
# secretName: mosquitto-secrets
# items:
# - key: password_file
# path: password_file
# mode: 0640
- name: mosquitto-conf
configMap:
name: {{ include "app.fullname" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/mosquitto/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ metadata:
{{ toYaml .Values.serviceAccount.labels | indent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/mosquitto/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ spec:
{{- end }}
{{- end }}
jobLabel: {{ template "app.fullname" . }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/mosquitto/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,5 @@ persistence:
enabled: true
storageClass: local-path
accessMode: ReadWriteOnce
size: 2Gi
size: 1Gi
annotations: {}

0 comments on commit 9b5a92c

Please sign in to comment.