* chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/eclipse-mosquitto
|
|
tag: v2.0.14@sha256:1602c5f074318d37f05e78f82e01fd9c22fa2d5616fc10eb2f8c8d0c7e5b2913
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 1883
|
|
targetPort: 1883
|
|
|
|
auth:
|
|
# -- By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config.
|
|
enabled: false
|
|
|
|
configmap:
|
|
config:
|
|
enabled: true
|
|
data:
|
|
mosquitto.conf: |
|
|
listener {{ .Values.service.main.ports.main.port }}
|
|
{{- if .Values.auth.enabled }}
|
|
allow_anonymous false
|
|
{{- else }}
|
|
allow_anonymous true
|
|
{{- end }}
|
|
{{- if .Values.persistence.data.enabled }}
|
|
persistence true
|
|
persistence_location {{ .Values.persistence.data.mountPath }}
|
|
autosave_interval 1800
|
|
{{- end }}
|
|
{{- if .Values.persistence.configinc.enabled }}
|
|
include_dir {{ .Values.persistence.configinc.mountPath }}
|
|
{{- end }}
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/mosquitto/data"
|
|
configinc:
|
|
enabled: true
|
|
mountPath: "/mosquitto/configinc"
|
|
mosquitto-config:
|
|
enabled: "true"
|
|
mountPath: "/mosquitto/config/mosquitto.conf"
|
|
subPath: "mosquitto.conf"
|
|
type: "custom"
|
|
volumeSpec:
|
|
configMap:
|
|
name: '{{ template "tc.common.names.fullname" . }}-config'
|
|
|
|
portal:
|
|
enabled: false
|