oc-k8s/opencloud/charts/nats/files/config/websocket.yaml

13 lines
283 B
YAML
Raw Normal View History

2024-11-29 10:30:47 +01:00
{{- with .Values.config.websocket }}
port: {{ .port }}
{{- if .tls.enabled }}
{{- with .tls }}
tls:
{{- include "nats.loadMergePatch" (merge (dict "file" "config/tls.yaml" "ctx" (merge (dict "tls" .) $)) .) | nindent 2 }}
{{- end }}
{{- else }}
no_tls: true
{{- end }}
{{- end }}