csgo

by Buttahtoast

Helm chartv0.2.3App 1.0.0Verified publisher

Source Server

About this chart

CSGO Server

This is a helm chart for all the docker image variants published by cm2network. Container configurations can be looked up on the referenced link.

Homepage: https://github.com/CM2Walki/CSGO

Maintainers

NameEmailUrl
oliverbaehler[email protected]
chifu1234[email protected]

Install Chart

helm install csgo --set persistence.enabled=false -n server

Major Changes

Major Changes to functions are documented with the version affected. Before upgrading the dependency version, check this section out!

TemplateChart VersionChange/DescriptionCommits/PRs

Values

KeyTypeDefaultDescription
commonLabelsobject{}Common Labels are added to each kubernetes resource manifest. But will not be added to resources rendered by the common chart (eg. JMX Exporter)
config.additional_argslist[]ADDITIONAL_ARGS Configuration - Adaitional execution arguments
config.game.modeint1SRCDS_GAMEMODE Configuration - Game Mode
config.game.typeint0SRCDS_GAMETYPE Configuration - Game Type
config.hostnamestring"Custom CS GO Server"SRCDS_HOSTNAME Configuration - Server hostname
config.local_addressstring"0"SRCDS_IP Configuration - Local address binding
config.map.groupstring"mg_active"SRCDS_MAPGROUP Configuration - Active Mapgroup
config.map.startstring"de_dust2"SRCDS_STARTMAP Configuration - Start Map
config.maxfpsint300SRCDS_FPSMAX Configuration - Maximum FPS
config.maxplayersint14
config.passwordstring""SRCDS_PORT Configuration - Published Server Port
config.portint27015
config.public_addressstring"0"SRCDS_NET_PUBLIC_ADDRESS Configuration - Published address
config.rcon_passwordstring""SRCDS_RCONPW Configuration (Will be stored as secret)
config.regionint3
config.tickrateint128SRCDS_REGION Configuration - Server Region
config.workshop.authstring""SRCDS_WORKSHOP_AUTHKEY Configuration - Required to use host_workshop_map
config.workshop.collectionint1SRCDS_HOST_WORKSHOP_COLLECTION Configuration - Workshop map collection
config.workshop.start_mapint0SRCDS_WORKSHOP_START_MAP Configuration - Map loaded on server restart
extraResourceslist[]Enter Extra Resources managed by the release
fullnameOverridestring""Overwrite "bedag-lib.fullname" output
global.defaultTagstring""Global Docker Image Tag declaration. Will be used as default tag, if no tag is given by child
global.imagePullPolicystring""Global Docker Image Pull Policy declaration. Will overwrite all child .pullPolicy fields.
global.imagePullSecretslist[]Global Docker Image Pull Secrets declaration. Added to local Docker Image Pull Secrets.
global.imageRegistrystring""Global Docker Image Registry declaration. Will overwrite all child .registry fields.
global.storageClassstring""Global StorageClass declaration. Can be used to overwrite StorageClass fields.
ingress.annotationsobject{}Configure Ingress Annotations
ingress.apiVersionstring""Configure the api version used for the ingress resource.
ingress.backendobject{}Configure a default backend for this ingress resource
ingress.customRuleslist[]Configure Custom Ingress Rules
ingress.enabledbooltrueEnable Ingress Resource
ingress.hostslist[]Configure Ingress Hosts (Required)
ingress.ingressClassstring""Configure the default ingress class for this ingress.
ingress.labelsobject{}Configure Ingress additional Labels
ingress.tlslist[]Configure Ingress TLS
nameOverridestring""Overwrite "bedag-lib.name" output
overwriteLabelsobject{}Overwrites default labels, but not resource specific labels and common labels
pdb.apiVersionstring""Configure the api version used for the Pdb resource
pdb.enabledboolfalseEnable Pdb Resource
pdb.labelsobjectbedag-lib.commonLabelsMerges given labels with common labels
pdb.maxUnavailablestringnilNumber or percentage of pods which is allowed to be unavailable during a disruption
pdb.minAvailablestringnilNumber or percentage of pods which must be available during a disruption. If neither minAvailable or maxUnavailable is set, de Policy defaults to minAvailable: 1
pdb.selectorLabelsobjectbedag-lib.selectorLabelsDefine SelectorLabels for the pdb
persistence.accessModeslist["ReadWriteOnce"]Configure PVC Access Modes
persistence.annotationsobject{}Configure PVC additional Annotations
persistence.dataSourcestringnilData Sources are currently only supported for CSI Volumes
persistence.enabledbooltrueEnable Persistence
persistence.labelsobjectbedag-lib.commonLabelsMerges given labels with common labels
persistence.mountPathstring"/home/steam/csgo-dedicated/"Destination for persistent volume
persistence.selectorobject{}Configure PVC Selector
persistence.sizestring"10Gi"Define requested storage size
persistence.storageClassstring""Configure PVC Storage Class
proxy.httpProxy.hoststring""Configure HTTP Proxy Hostname/IP (without protocol://)
proxy.httpProxy.portintnilConfigure HTTP Proxy Port
proxy.httpProxy.protocolstringhttpConfigure HTTP Proxy Protocol (http/https)
proxy.httpsProxy.hoststring""Configure HTTPS Proxy Hostname/IP (without protocol://)
proxy.httpsProxy.portintnilConfigure HTTPS Proxy Port
proxy.httpsProxy.protocolstringhttpConfigure HTTPS Proxy Protocol (http/https)
proxy.noProxylist[ "localhost", "127.0.0.1" ]Configure No Proxy Hosts
selectorLabelsobjectapp.kubernetes.io/name: crowd-software<br>app.kubernetes.io/instance: testDefine default selectorLabels
service.annotationsobject{}Configure Service additional Annotations (Monitor Labels)
service.apiVersionstringv1Configure the api version used
service.enabledbooltrueEnable Service Resource
service.extraPortslist[]Add additional ports to the service
service.labelsobject{}Configure Service additional Labels
service.loadBalancerIPstring""Configure Service loadBalancerIP. Set the LoadBalancer service type to internal only.
service.loadBalancerSourceRangeslist[]Configure Service loadBalancerSourceRanges # Example: # loadBalancerSourceRanges: # - 10.10.10.0/24 #
service.nodePortstring""Specify the nodePort value for the LoadBalancer and NodePort service types
service.selectorobjectbedag-lib.selectorLabelsConfigure Service Selector Labels
service.typestring"ClusterIP"Configure Service Type.
statefulset.affinityobject{}Pod Affinity
statefulset.apiVersionstring""Configure the api version used for the Statefulset resource
statefulset.argsobject{}Configure arguments for executed command
statefulset.commandobject{}Configure executed container command
statefulset.containerFieldsobject{}Extra fields used on the container definition
statefulset.containerNamestring.Chart.NameConfigure Container Name
statefulset.environmentobject{}Configure Environment Variables (Refer to values.yaml)
statefulset.forceRedeployboolfalse
statefulset.image.pullPolicystring""Configure Docker Pull Policy. Will be overwritten if set by global variable.
statefulset.image.registrystring"docker.io"Configure Docker Registry. Will be overwritten if set by global variable.
statefulset.image.repositorystring"cm2network/csgo"Configure Docker Repository
statefulset.image.tagstring"sourcemod"Configure Docker Image tag
statefulset.imagePullSecretslist[]Define ImagePullSecrets. Will be overwritten if set by global variable.
statefulset.initContainerslist[]Pod initContainers
statefulset.labelsobjectbedag-lib.commonLabelsMerges given labels with common labels
statefulset.lifecycleobject{}Container Lifecycle
statefulset.livenessProbeobject{"initialDelaySeconds":30,"periodSeconds":10,"tcpSocket":{"port":"srcds"}}Container LivenessProbe
statefulset.nodeSelectorobject{}Pod NodeSelector
statefulset.podAnnotationsobject{}Pod annotations are only added for the pod
statefulset.podFieldsobject{}Add extra field to the Pod Template if not available as value.
statefulset.podLabelsobject{}Pod labels are only added for the pod
statefulset.podManagementPolicystring""Statefulset Management Policy. Statefulset only
statefulset.podSecurityContextobject{}Pod SecurityContext
statefulset.portsobject{}Configure Container Ports
statefulset.priorityClassNamestring""Pod priorityClassName
statefulset.readinessProbeobject{}Container ReadinessProbe
statefulset.replicaCountint1Amount of Replicas deployed
statefulset.resourcesobject{}Configure Container Resource
statefulset.restartPolicystringnilRestart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
statefulset.rollingUpdatePartitionstring""Statefulset Update Pratition. Statefulset only
statefulset.securityContextobject{}Container SecurityContext
statefulset.selectorLabelsobjectbedag-lib.selectorLabelsDefine SelectorLabels for the Pod Template
statefulset.serviceAccount.annotationsobject{}Annotations to add to the service account
statefulset.serviceAccount.apiVersionstringv1Configure the api version used

|

Deploy csgo with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has csgo on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcsgo is pinned at v0.2.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply