Skip to content

Commit f080f6d

Browse files
committed
build(mosquitto): 0.0.4
1 parent c587e37 commit f080f6d

2 files changed

Lines changed: 26 additions & 32 deletions

File tree

charts/mosquitto/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: 2.0.18
33
description: Eclipse Mosquitto MQTT
44
name: mosquitto
5-
version: 0.0.3
5+
version: 0.0.4
66
type: application
77
keywords:
88
- mqtt
@@ -12,4 +12,4 @@ icon: https://raw.githubusercontent.com/eclipse/mosquitto/master/logo/mosquitto-
1212
sources:
1313
- https://github.com/eclipse/mosquitto
1414
maintainers:
15-
- name: jacekzubielik
15+
- name: jacekzubielik

charts/mosquitto/templates/deployment.yaml

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ spec:
6060
runAsUser: 0
6161
privileged: true
6262
volumeMounts:
63-
- name: mosquitto-data
63+
- name: mosquitto-data
6464
mountPath: /mosquitto
6565
containers:
6666
- name: {{ .Chart.Name }}
@@ -82,62 +82,56 @@ spec:
8282
{{- if .Values.livenessProbe.enabled }}
8383
livenessProbe:
8484
httpGet:
85-
path: /
86-
port: {{ .Values.service.mqttPort }}
87-
scheme: {{ .Values.livenessProbe.scheme }}
88-
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
89-
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
90-
successThreshold: {{ .Values.livenessProbe.successThreshold }}
91-
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
85+
path: /
86+
port: {{ .Values.service.mqttPort }}
87+
scheme: {{ .Values.livenessProbe.scheme }}
88+
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
89+
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
90+
successThreshold: {{ .Values.livenessProbe.successThreshold }}
91+
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
9292
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds}}
9393
{{- end }}
9494
{{- if .Values.readinessProbe.enabled }}
9595
readinessProbe:
9696
httpGet:
97-
path: /
98-
port: {{ .Values.service.mqttPort }}
99-
scheme: {{ .Values.livenessProbe.scheme }}
100-
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
101-
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
102-
successThreshold: {{ .Values.readinessProbe.successThreshold }}
103-
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
97+
path: /
98+
port: {{ .Values.service.mqttPort }}
99+
scheme: {{ .Values.livenessProbe.scheme }}
100+
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
101+
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
102+
successThreshold: {{ .Values.readinessProbe.successThreshold }}
103+
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
104104
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds}}
105105
{{- end }}
106106
volumeMounts:
107107
- name: mosquitto-conf
108108
mountPath: /mosquitto/config/mosquitto.conf
109109
subPath: mosquitto.conf
110-
readOnly: false
111110
- name: mosquitto-passwd
112111
mountPath: /mosquitto/password_file
113112
subPath: password_file
114-
readOnly: false
115113
- name: mosquitto-ca-cert
116114
mountPath: /mosquitto/config/certs/ca.crt
117115
subPath: ca.crt
118-
readOnly: false
119116
- name: mosquitto-server-cert
120117
mountPath: /mosquitto/config/certs/server.crt
121118
subPath: server.crt
122-
readOnly: false
123119
- name: mosquitto-server-key
124120
mountPath: /mosquitto/config/certs/server.key
125121
subPath: server.key
126-
readOnly: false
127122
- name: mosquitto-data
128-
mountPath: /mosquitto
129-
subPath: mosquitto
130-
readOnly: false
123+
mountPath: /mosquitto/data
124+
subPath: mosquitto/data
131125
resources:
132126
{{- toYaml .Values.resources | nindent 12 }}
133127
volumes:
134-
- name: mosquitto-passwd
135-
secret:
136-
secretName: mosquitto-secrets
137-
items:
138-
- key: password_file
139-
path: password_file
140-
mode: 0644
128+
# - name: mosquitto-passwd
129+
# secret:
130+
# secretName: mosquitto-secrets
131+
# items:
132+
# - key: password_file
133+
# path: password_file
134+
# mode: 0644
141135
- name: mosquitto-conf
142136
configMap:
143137
name: {{ include "app.fullname" . }}

0 commit comments

Comments
 (0)