scale-catalog/stable/portainer/9.0.13/templates/_args.tpl
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

20 lines
508 B
Smarty

{{- define "portainer.args" -}}
args:
- --tunnel-port={{ .Values.service.edge.ports.edge.port }}
- --http-disabled
{{- with .Values.portainer.logo }}
- --logo={{ . }}
{{- end }}
{{- if .Values.portainer.edge_compute }}
- --edge-compute
{{- end }}
{{- with .Values.portainer.snapshot_interval }}
- --snapshot-interval={{ . }}
{{- end }}
{{- if .Values.portainer.hide_labels }}
{{- range .Values.portainer.hide_labels }}
- --hide-label={{ . }}
{{- end }}
{{- end }}
{{- end -}}