fix(ark): fix wrong port formatting (#5651)
* Fix printf error Fix printf complaining it can't print a float as a string. Fixed a small typo in the validate label. * bump Co-authored-by: Stavros kois <s.kois@outlook.com>
This commit is contained in:
co-authored by
Stavros kois
parent
62915bf459
commit
53cbf4be56
@@ -26,4 +26,4 @@ sources:
|
|||||||
- https://survivetheark.com/
|
- https://survivetheark.com/
|
||||||
- https://hub.docker.com/r/ich777/steamcmd/
|
- https://hub.docker.com/r/ich777/steamcmd/
|
||||||
type: application
|
type: application
|
||||||
version: 3.0.0
|
version: 3.0.1
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
- variable: validate
|
- variable: validate
|
||||||
label: Valitdate
|
label: Validate
|
||||||
description: "Set the Variable to true if you want to validate the installation otherwise leave it blank."
|
description: "Set the Variable to true if you want to validate the installation otherwise leave it blank."
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }}
|
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }}
|
||||||
|
|
||||||
{{- $params := list }}
|
{{- $params := list }}
|
||||||
{{- $params = append $params (printf "?Port=%s" .Values.service.main.ports.main.port) -}}
|
{{- $params = append $params (printf "?Port=%v" .Values.service.main.ports.main.port) -}}
|
||||||
{{- $params = append $params (printf "?QueryPort=%s" .Values.service.udpsteam.ports.udpsteam.port) -}}
|
{{- $params = append $params (printf "?QueryPort=%v" .Values.service.udpsteam.ports.udpsteam.port) -}}
|
||||||
{{- $params = append $params (printf "?RCONPort=%s" .Values.service.rcontcp.ports.rcontcp.port) -}}
|
{{- $params = append $params (printf "?RCONPort=%v" .Values.service.rcontcp.ports.rcontcp.port) -}}
|
||||||
{{- if .Values.ark.rcon_enabled -}}
|
{{- if .Values.ark.rcon_enabled -}}
|
||||||
{{- $params = append $params (print "?RCONEnabled=True") -}}
|
{{- $params = append $params (print "?RCONEnabled=True") -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user