fix: use %v instead of %s+print for port in static template
This commit is contained in:
parent
0ebbc6e29e
commit
9776c923c0
@ -37,7 +37,7 @@ spec:
|
||||
- name: STATIC_ROOT
|
||||
value: /data
|
||||
- name: STATIC_BIND
|
||||
value: {{ printf "0.0.0.0:%s" (print $svc.service.port) }}
|
||||
value: {{ printf "0.0.0.0:%v" $svc.service.port }}
|
||||
- name: STATIC_CORS
|
||||
value: {{ $svc.cors | default "true" | quote }}
|
||||
{{- if $svc.logLevel }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user