11 lines
239 B
YAML
11 lines
239 B
YAML
{{- with .protocol }}
|
|
port: {{ .port }}
|
|
|
|
{{- with .tls }}
|
|
{{- if .enabled }}
|
|
tls:
|
|
{{- include "nats.loadMergePatch" (merge (dict "file" "config/tls.yaml" "ctx" (merge (dict "tls" .) $)) .) | nindent 2 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|