diff --git a/bin/MqttLogStdoutAppPublish.ml b/bin/MqttLogStdoutAppPublish.ml index a21fd05..7e1898c 100644 --- a/bin/MqttLogStdoutAppPublish.ml +++ b/bin/MqttLogStdoutAppPublish.ml @@ -12,7 +12,7 @@ let pub_example () = let* () = Lwt_io.printl "Publishing..." in let* line = Lwt_io.read_line Lwt_io.stdin in let* () = - C.publish ~qos:C.Atleast_once ~topic:"xotclient/x/v1/log" line client + C.publish ~qos:C.Atleast_once ~topic:"client/x/v1/log" line client in let* () = Lwt_io.printl "Published." in loop () diff --git a/charts/mqtt-log-stdout/Chart.yaml b/charts/mqtt-log-stdout/Chart.yaml index 2198a43..6f23131 100644 --- a/charts/mqtt-log-stdout/Chart.yaml +++ b/charts/mqtt-log-stdout/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: mqtt-log-stdout description: A Helm chart for mqtt-log-stdout a micro service for logging mqtt messages to stdout type: application -version: v1.0.2 -appVersion: v1.0.2 +version: v1.0.3 +appVersion: v1.0.3 diff --git a/charts/mqtt-log-stdout/templates/deployment.yaml b/charts/mqtt-log-stdout/templates/deployment.yaml index 3d2b1d9..5fb0fda 100644 --- a/charts/mqtt-log-stdout/templates/deployment.yaml +++ b/charts/mqtt-log-stdout/templates/deployment.yaml @@ -17,6 +17,9 @@ spec: {{- end }} labels: {{- include "mqtt-log-stdout.selectorLabels" . | nindent 8 }} + {{- with .Values.extraPodLabels }} + {{ toYaml . | indent 8 | trim }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/mqtt-log-stdout/values.yaml b/charts/mqtt-log-stdout/values.yaml index fd0fe55..572e147 100644 --- a/charts/mqtt-log-stdout/values.yaml +++ b/charts/mqtt-log-stdout/values.yaml @@ -11,6 +11,10 @@ fullnameOverride: "" podAnnotations: {} +# Extra labels to put on agent pods. Values must be strings per the k8s label +# schema. +extraPodLabels: {} + podSecurityContext: {} # fsGroup: 2000