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
| Name | Url | |
|---|---|---|
| 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!
| Template | Chart Version | Change/Description | Commits/PRs |
|---|---|---|---|
Values
| Key | Type | Default | Description |
|---|---|---|---|
| commonLabels | object | {} | 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_args | list | [] | ADDITIONAL_ARGS Configuration - Adaitional execution arguments |
| config.game.mode | int | 1 | SRCDS_GAMEMODE Configuration - Game Mode |
| config.game.type | int | 0 | SRCDS_GAMETYPE Configuration - Game Type |
| config.hostname | string | "Custom CS GO Server" | SRCDS_HOSTNAME Configuration - Server hostname |
| config.local_address | string | "0" | SRCDS_IP Configuration - Local address binding |
| config.map.group | string | "mg_active" | SRCDS_MAPGROUP Configuration - Active Mapgroup |
| config.map.start | string | "de_dust2" | SRCDS_STARTMAP Configuration - Start Map |
| config.maxfps | int | 300 | SRCDS_FPSMAX Configuration - Maximum FPS |
| config.maxplayers | int | 14 | |
| config.password | string | "" | SRCDS_PORT Configuration - Published Server Port |
| config.port | int | 27015 | |
| config.public_address | string | "0" | SRCDS_NET_PUBLIC_ADDRESS Configuration - Published address |
| config.rcon_password | string | "" | SRCDS_RCONPW Configuration (Will be stored as secret) |
| config.region | int | 3 | |
| config.tickrate | int | 128 | SRCDS_REGION Configuration - Server Region |
| config.workshop.auth | string | "" | SRCDS_WORKSHOP_AUTHKEY Configuration - Required to use host_workshop_map |
| config.workshop.collection | int | 1 | SRCDS_HOST_WORKSHOP_COLLECTION Configuration - Workshop map collection |
| config.workshop.start_map | int | 0 | SRCDS_WORKSHOP_START_MAP Configuration - Map loaded on server restart |
| extraResources | list | [] | Enter Extra Resources managed by the release |
| fullnameOverride | string | "" | Overwrite "bedag-lib.fullname" output |
| global.defaultTag | string | "" | Global Docker Image Tag declaration. Will be used as default tag, if no tag is given by child |
| global.imagePullPolicy | string | "" | Global Docker Image Pull Policy declaration. Will overwrite all child .pullPolicy fields. |
| global.imagePullSecrets | list | [] | Global Docker Image Pull Secrets declaration. Added to local Docker Image Pull Secrets. |
| global.imageRegistry | string | "" | Global Docker Image Registry declaration. Will overwrite all child .registry fields. |
| global.storageClass | string | "" | Global StorageClass declaration. Can be used to overwrite StorageClass fields. |
| ingress.annotations | object | {} | Configure Ingress Annotations |
| ingress.apiVersion | string | "" | Configure the api version used for the ingress resource. |
| ingress.backend | object | {} | Configure a default backend for this ingress resource |
| ingress.customRules | list | [] | Configure Custom Ingress Rules |
| ingress.enabled | bool | true | Enable Ingress Resource |
| ingress.hosts | list | [] | Configure Ingress Hosts (Required) |
| ingress.ingressClass | string | "" | Configure the default ingress class for this ingress. |
| ingress.labels | object | {} | Configure Ingress additional Labels |
| ingress.tls | list | [] | Configure Ingress TLS |
| nameOverride | string | "" | Overwrite "bedag-lib.name" output |
| overwriteLabels | object | {} | Overwrites default labels, but not resource specific labels and common labels |
| pdb.apiVersion | string | "" | Configure the api version used for the Pdb resource |
| pdb.enabled | bool | false | Enable Pdb Resource |
| pdb.labels | object | bedag-lib.commonLabels | Merges given labels with common labels |
| pdb.maxUnavailable | string | nil | Number or percentage of pods which is allowed to be unavailable during a disruption |
| pdb.minAvailable | string | nil | Number 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.selectorLabels | object | bedag-lib.selectorLabels | Define SelectorLabels for the pdb |
| persistence.accessModes | list | ["ReadWriteOnce"] | Configure PVC Access Modes |
| persistence.annotations | object | {} | Configure PVC additional Annotations |
| persistence.dataSource | string | nil | Data Sources are currently only supported for CSI Volumes |
| persistence.enabled | bool | true | Enable Persistence |
| persistence.labels | object | bedag-lib.commonLabels | Merges given labels with common labels |
| persistence.mountPath | string | "/home/steam/csgo-dedicated/" | Destination for persistent volume |
| persistence.selector | object | {} | Configure PVC Selector |
| persistence.size | string | "10Gi" | Define requested storage size |
| persistence.storageClass | string | "" | Configure PVC Storage Class |
| proxy.httpProxy.host | string | "" | Configure HTTP Proxy Hostname/IP (without protocol://) |
| proxy.httpProxy.port | int | nil | Configure HTTP Proxy Port |
| proxy.httpProxy.protocol | string | http | Configure HTTP Proxy Protocol (http/https) |
| proxy.httpsProxy.host | string | "" | Configure HTTPS Proxy Hostname/IP (without protocol://) |
| proxy.httpsProxy.port | int | nil | Configure HTTPS Proxy Port |
| proxy.httpsProxy.protocol | string | http | Configure HTTPS Proxy Protocol (http/https) |
| proxy.noProxy | list | [ "localhost", "127.0.0.1" ] | Configure No Proxy Hosts |
| selectorLabels | object | app.kubernetes.io/name: crowd-software<br>app.kubernetes.io/instance: test | Define default selectorLabels |
| service.annotations | object | {} | Configure Service additional Annotations (Monitor Labels) |
| service.apiVersion | string | v1 | Configure the api version used |
| service.enabled | bool | true | Enable Service Resource |
| service.extraPorts | list | [] | Add additional ports to the service |
| service.labels | object | {} | Configure Service additional Labels |
| service.loadBalancerIP | string | "" | Configure Service loadBalancerIP. Set the LoadBalancer service type to internal only. |
| service.loadBalancerSourceRanges | list | [] | Configure Service loadBalancerSourceRanges # Example: # loadBalancerSourceRanges: # - 10.10.10.0/24 # |
| service.nodePort | string | "" | Specify the nodePort value for the LoadBalancer and NodePort service types |
| service.selector | object | bedag-lib.selectorLabels | Configure Service Selector Labels |
| service.type | string | "ClusterIP" | Configure Service Type. |
| statefulset.affinity | object | {} | Pod Affinity |
| statefulset.apiVersion | string | "" | Configure the api version used for the Statefulset resource |
| statefulset.args | object | {} | Configure arguments for executed command |
| statefulset.command | object | {} | Configure executed container command |
| statefulset.containerFields | object | {} | Extra fields used on the container definition |
| statefulset.containerName | string | .Chart.Name | Configure Container Name |
| statefulset.environment | object | {} | Configure Environment Variables (Refer to values.yaml) |
| statefulset.forceRedeploy | bool | false | |
| statefulset.image.pullPolicy | string | "" | Configure Docker Pull Policy. Will be overwritten if set by global variable. |
| statefulset.image.registry | string | "docker.io" | Configure Docker Registry. Will be overwritten if set by global variable. |
| statefulset.image.repository | string | "cm2network/csgo" | Configure Docker Repository |
| statefulset.image.tag | string | "sourcemod" | Configure Docker Image tag |
| statefulset.imagePullSecrets | list | [] | Define ImagePullSecrets. Will be overwritten if set by global variable. |
| statefulset.initContainers | list | [] | Pod initContainers |
| statefulset.labels | object | bedag-lib.commonLabels | Merges given labels with common labels |
| statefulset.lifecycle | object | {} | Container Lifecycle |
| statefulset.livenessProbe | object | {"initialDelaySeconds":30,"periodSeconds":10,"tcpSocket":{"port":"srcds"}} | Container LivenessProbe |
| statefulset.nodeSelector | object | {} | Pod NodeSelector |
| statefulset.podAnnotations | object | {} | Pod annotations are only added for the pod |
| statefulset.podFields | object | {} | Add extra field to the Pod Template if not available as value. |
| statefulset.podLabels | object | {} | Pod labels are only added for the pod |
| statefulset.podManagementPolicy | string | "" | Statefulset Management Policy. Statefulset only |
| statefulset.podSecurityContext | object | {} | Pod SecurityContext |
| statefulset.ports | object | {} | Configure Container Ports |
| statefulset.priorityClassName | string | "" | Pod priorityClassName |
| statefulset.readinessProbe | object | {} | Container ReadinessProbe |
| statefulset.replicaCount | int | 1 | Amount of Replicas deployed |
| statefulset.resources | object | {} | Configure Container Resource |
| statefulset.restartPolicy | string | nil | Restart 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.rollingUpdatePartition | string | "" | Statefulset Update Pratition. Statefulset only |
| statefulset.securityContext | object | {} | Container SecurityContext |
| statefulset.selectorLabels | object | bedag-lib.selectorLabels | Define SelectorLabels for the Pod Template |
| statefulset.serviceAccount.annotations | object | {} | Annotations to add to the service account |
| statefulset.serviceAccount.apiVersion | string | v1 | Configure 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcsgo is pinned at v0.2.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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