39 lines
700 B
YAML
39 lines
700 B
YAML
image:
|
|
repository: eclipse-mosquitto
|
|
tag: "2"
|
|
pullPolicy: IfNotPresent
|
|
|
|
# not really needed, as StatefulSet has hardcoded "replicas: 1"
|
|
replicaCount: 1
|
|
|
|
securityContext:
|
|
runAsUser: 1883
|
|
runAsGroup: 1883
|
|
|
|
persistence:
|
|
enabled: true
|
|
size: 1Gi
|
|
|
|
service:
|
|
type: LoadBalancer
|
|
mqttPort: 1883
|
|
loadBalancerPool: "mqtt"
|
|
# or loadBalancerIP: X.X.X.X
|
|
|
|
auth:
|
|
# Mount a Secret with a pre-generated mosquitto passwd file instead of
|
|
# putting credentials in values.yaml / git. See README for how to create it.
|
|
existingSecret: mosquitto-passwd
|
|
secretKey: passwd
|
|
|
|
websockets:
|
|
enabled: false
|
|
port: 9001
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 32Mi
|
|
limits:
|
|
memory: 128Mi
|