Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit d8b7163

Browse files
committed
Upgrade mosquitto to 1.6.10 and allow external service policy
1 parent 249a89d commit d8b7163

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
2-
appVersion: "1.6.8"
2+
appVersion: "1.6.10"
33
description: Eclipse Mosquitto - An open source MQTT broker
44
name: mosquitto
5-
version: 0.1.0
5+
version: 0.2.0
66
keywords:
77
- message queue
88
- MQTT

templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
** Please be patient while the chart is being deployed **
22

3-
Mosquitto can be accessed within the cluster on port 1883 at {{ template "mosquitto.fullname" . }}.{{ .Release.Namespace }}.svc.local
3+
Mosquitto can be accessed within the cluster on port 1883 at {{ template "mosquitto.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local
44

55
To access for outside the cluster, perform the following steps:
66

templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
- name: {{ .Chart.Name }}
2828
securityContext:
2929
{{- toYaml .Values.securityContext | nindent 12 }}
30-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
30+
image: "{{ .Values.image.repository }}:{{ tpl .Values.image.tag . }}"
3131
imagePullPolicy: {{ .Values.image.pullPolicy }}
3232
ports:
3333
- name: default

templates/service.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,18 @@ metadata:
44
name: {{ include "mosquitto.fullname" . }}
55
labels:
66
{{ include "mosquitto.labels" . | indent 4 }}
7+
{{- with .Values.service.annotations }}
8+
annotations:
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
711
spec:
812
type: {{ .Values.service.type }}
13+
{{- if .Values.service.externalTrafficPolicy }}
14+
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
15+
{{- end }}
16+
{{- if .Values.service.loadBalancerIP }}
17+
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
18+
{{- end }}
919
ports:
1020
- port: 1883
1121
targetPort: default

values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replicaCount: 1
66

77
image:
88
repository: eclipse-mosquitto
9-
tag: 1.6.8
9+
tag: "{{ .Chart.AppVersion }}"
1010
pullPolicy: IfNotPresent
1111

1212
imagePullSecrets: []

0 commit comments

Comments
 (0)