Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
Add extraPodLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrikstrid committed Nov 3, 2020
1 parent 289244d commit 1b79ac4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/MqttLogStdoutAppPublish.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down
4 changes: 2 additions & 2 deletions charts/mqtt-log-stdout/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions charts/mqtt-log-stdout/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions charts/mqtt-log-stdout/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b79ac4

Please sign in to comment.