* Remove targetport, update questions Remove targetport so that value is set to the prrovided value for port. Update questions with info to change the port numbers for multiple servers. * some changes * typo * Update charts/incubator/arksurvivalevolved/Chart.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> * Update charts/incubator/arksurvivalevolved/values.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> * fixe * Update charts/incubator/arksurvivalevolved/Chart.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> * bump * add error message when port is not +1 * Update charts/incubator/arksurvivalevolved/templates/common.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> * fix secretname * fix name * Easier params * add another check * Fix typo Fixed typo in label for UDP Steam Service Signed-off-by: Whiskey24 <bert@santema.eu> * bump common * Update charts/incubator/arksurvivalevolved/templates/common.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Whiskey24 <bert@santema.eu> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
17 lines
753 B
YAML
17 lines
753 B
YAML
{{/* Make sure all variables are set properly */}}
|
|
{{- include "tc.common.loader.init" . }}
|
|
|
|
{{- if ne (int .Values.service.udp2.ports.udp2.port) (add1 (int .Values.service.main.ports.main.port)) -}}
|
|
{{- fail (printf "In the service udp2, the port for udp2 must be greater by 1 than the main service's port. You have to set it to <%s>." (add1 .Values.service.main.ports.main.port)) }}
|
|
{{- end -}}
|
|
|
|
{{- if and (ge (int .Values.service.udpsteam.ports.udpsteam.port) 27020) (le (int .Values.service.udpsteam.ports.udpsteam.port) 27050) -}}
|
|
{{- fail "UDP Steam Service port cannot be between 27020 and 27050." -}}
|
|
{{- end }}
|
|
|
|
{{/* Render secret */}}
|
|
{{- include "ark.secret" . }}
|
|
|
|
{{/* Render the templates */}}
|
|
{{ include "tc.common.loader.apply" . }}
|