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://hub.docker.com/r/ich777/steamcmd/
|
||||
type: application
|
||||
version: 3.0.0
|
||||
version: 3.0.1
|
||||
|
||||
@@ -61,7 +61,7 @@ questions:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: validate
|
||||
label: Valitdate
|
||||
label: Validate
|
||||
description: "Set the Variable to true if you want to validate the installation otherwise leave it blank."
|
||||
schema:
|
||||
type: boolean
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }}
|
||||
|
||||
{{- $params := list }}
|
||||
{{- $params = append $params (printf "?Port=%s" .Values.service.main.ports.main.port) -}}
|
||||
{{- $params = append $params (printf "?QueryPort=%s" .Values.service.udpsteam.ports.udpsteam.port) -}}
|
||||
{{- $params = append $params (printf "?RCONPort=%s" .Values.service.rcontcp.ports.rcontcp.port) -}}
|
||||
{{- $params = append $params (printf "?Port=%v" .Values.service.main.ports.main.port) -}}
|
||||
{{- $params = append $params (printf "?QueryPort=%v" .Values.service.udpsteam.ports.udpsteam.port) -}}
|
||||
{{- $params = append $params (printf "?RCONPort=%v" .Values.service.rcontcp.ports.rcontcp.port) -}}
|
||||
{{- if .Values.ark.rcon_enabled -}}
|
||||
{{- $params = append $params (print "?RCONEnabled=True") -}}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user