Skip to content

Commit

Permalink
build(mosquitto): 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JacekZubielik committed Aug 20, 2024
1 parent cf77440 commit f56ac87
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 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.1
version: 0.0.2
type: application
keywords:
- mqtt
Expand Down
26 changes: 20 additions & 6 deletions charts/mosquitto/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,22 +107,27 @@ spec:
- name: mosquitto-conf
mountPath: /mosquitto/config/mosquitto.conf
subPath: mosquitto.conf
readOnly: true
- name: mosquitto-passwd
mountPath: /mosquitto/password_file
subPath: password_file
readOnly: true
- name: mosquitto-ca-cert
mountPath: /mosquitto/config/certs/ca.crt
subPath: ca.crt
readOnly: true
- name: mosquitto-server-cert
mountPath: /mosquitto/config/certs/server.crt
subPath: server.crt
readOnly: true
- name: mosquitto-server-key
mountPath: /mosquitto/config/certs/server.key
subPath: server.key
readOnly: true
- name: mosquitto-data
mountPath: /mosquitto
subPath: mosquitto
readOnly: true
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
Expand All @@ -137,14 +142,23 @@ spec:
configMap:
name: {{ include "app.fullname" . }}
- name: mosquitto-ca-cert
secret:
secretName: mosquitto-ca-cert
configMap:
name: {{ include "app.fullname" . }}-certs
items:
- key: ca.crt
path: ca.crt
- name: mosquitto-server-cert
secret:
secretName: mosquitto-server-cert
configMap:
name: {{ include "app.fullname" . }}-certs
items:
- key: server.crt
path: server.crt
- name: mosquitto-server-key
secret:
secretName: mosquitto-server-key
configMap:
name: {{ include "app.fullname" . }}-certs
items:
- key: server.key
path: server.key
- name: mosquitto-data
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
Expand Down

0 comments on commit f56ac87

Please sign in to comment.