Skip to content

Commit

Permalink
charts/steamcmd: Update chart version to 1.0.7
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Reichl <[email protected]>
  • Loading branch information
thetredev committed Nov 11, 2023
1 parent 360e1ad commit 3eaddfa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions charts/steamcmd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: v2
name: steamcmd
version: 1.0.6
appVersion: "20230909"
version: 1.0.7
appVersion: "20231111"
description: Sane SteamCMD Docker images
annotations:
artifacthub.io/license: MIT
artifacthub.io/links: |
- name: Source
url: https://github.com/thetredev/helm-charts
artifacthub.io/changes: |
- kind: changed
description: Redesigned bash prompt
- kind: fixed
description: Ensure Counter-Strike 2 compatibility
10 changes: 5 additions & 5 deletions charts/steamcmd/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- define "steamcmd.image" -}}
{{ $games := dict "cs" "hlds" "czero" "hlds" "dmc" "hlds" "dod" "hlds" "hlmp" "hlds" "op4" "hlds" "tfc" "hlds" "bms" "csgo" "csgo" "csgo" "css" "srcds" "dods" "srcds" "gm" "srcds" "hl2mp" "srcds" "l4d" "srcds" "l4d2" "srcds" }}
{{ $games := dict "cs" "hlds" "czero" "hlds" "dmc" "hlds" "dod" "hlds" "hlmp" "hlds" "op4" "hlds" "tfc" "hlds" "bms" "source2" "cs2" "source2" "css" "srcds" "dods" "srcds" "gm" "srcds" "hl2mp" "srcds" "l4d" "srcds" "l4d2" "srcds" }}
{{- get $games .Values.deployment.game -}}
{{- end -}}

Expand All @@ -13,12 +13,12 @@
{{- end -}}

{{- define "steamcmd.map" -}}
{{ $games := dict "cs" "de_dust2" "czero" "de_dust2_cz" "dmc" "dmc_dm2" "dod" "dod_donner" "hlmp" "c1a1" "op4" "op4_demise" "tfc" "2fort" "bms" "dm_bounce" "csgo" "de_dust2" "css" "de_dust2" "dods" "dod_palermo" "gm" "gm_construct" "hl2mp" "dm_lockdown" "l4d" "l4d_hospital01_apartment" "l4d2" "c2m1_highway" }}
{{ $games := dict "cs" "de_dust2" "czero" "de_dust2_cz" "dmc" "dmc_dm2" "dod" "dod_donner" "hlmp" "c1a1" "op4" "op4_demise" "tfc" "2fort" "bms" "dm_bounce" "cs2" "de_dust2" "css" "de_dust2" "dods" "dod_palermo" "gm" "gm_construct" "hl2mp" "dm_lockdown" "l4d" "l4d_hospital01_apartment" "l4d2" "c2m1_highway" }}
{{- get $games .Values.deployment.game -}}
{{- end -}}

{{- define "steamcmd.appid" -}}
{{ $appids := dict "bms" "346680" "csgo" "740" "css" "232330" "dods" "232290" "gm" "4020" "hl2mp" "232370" "l4d" "510" "l4d2" "222860" }}
{{ $appids := dict "bms" "346680" "cs2" "730" "css" "232330" "dods" "232290" "gm" "4020" "hl2mp" "232370" "l4d" "510" "l4d2" "222860" }}
{{ if hasKey $appids .Values.deployment.game }}
{{- get $appids .Values.deployment.game -}}
{{ else }}
Expand All @@ -36,8 +36,8 @@
{{- end -}}

{{- define "steamcmd.maxplayers" -}}
{{ if eq .Values.deployment.game "csgo" }}
{{- "-maxplayers_override" -}}
{{ if eq .Values.deployment.game "cs2" }}
{{- "-maxplayer" -}}
{{ else }}
{{- "+maxplayers" -}}
{{ end }}
Expand Down

0 comments on commit 3eaddfa

Please sign in to comment.