Skip to content

Commit 3b935de

Browse files
authored
Merge pull request #34 from kubelize/test
feat(conan-exiles): adding to a01
2 parents d85fe8b + 05f1c7f commit 3b935de

5 files changed

Lines changed: 227 additions & 0 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: conan
5+
namespace: "{{ .customer.name }}-reserved"
6+
spec:
7+
syncPolicy:
8+
automated:
9+
prune: true
10+
selfHeal: false
11+
allowEmpty: false
12+
syncOptions:
13+
- CreateNamespace=true
14+
project: "{{ .customer.name }}-{{ .customer.project }}"
15+
destination:
16+
server: https://kubernetes.default.svc
17+
namespace: "{{ .customer.name }}-conan-{{ .customer.stage }}"
18+
source:
19+
repoURL: https://kubelize.github.io/game-servers/
20+
targetRevision: 0.3.0
21+
chart: game-servers
22+
helm:
23+
parameters: []
24+
valuesObject:
25+
replicaCount: 1
26+
image:
27+
repository: kubelize/games
28+
pullPolicy: Always
29+
tag: "0.0.2-ce-alpha"
30+
gameService:
31+
type: LoadBalancer
32+
ports:
33+
- name: game-udp
34+
protocol: UDP
35+
port: 7777
36+
targetPort: 7777
37+
- name: travel-udp
38+
protocol: UDP
39+
port: 7778
40+
targetPort: 7778
41+
- name: query-udp
42+
protocol: UDP
43+
port: 27015
44+
targetPort: 27015
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
apiVersion: cilium.io/v2
2+
kind: CiliumNetworkPolicy
3+
metadata:
4+
name: namespace-baseline
5+
namespace: "{{ .customer.name }}-conan-{{ .customer.stage }}"
6+
spec:
7+
endpointSelector: {}
8+
ingress:
9+
- fromEndpoints:
10+
- matchLabels:
11+
k8s:io.kubernetes.pod.namespace: "{{ .customer.name }}-conan-{{ .customer.stage }}"
12+
- fromEntities:
13+
- host
14+
- remote-node
15+
- fromEntities:
16+
- world
17+
toPorts:
18+
- ports:
19+
- port: "7777"
20+
protocol: UDP
21+
- port: "7778"
22+
protocol: UDP
23+
- port: "27015"
24+
protocol: UDP
25+
egress:
26+
- toEndpoints:
27+
- matchLabels:
28+
k8s:io.kubernetes.pod.namespace: "{{ .customer.name }}-conan-{{ .customer.stage }}"
29+
- toEndpoints:
30+
- matchLabels:
31+
k8s:io.kubernetes.pod.namespace: kube-system
32+
k8s:k8s-app: kube-dns
33+
toPorts:
34+
- ports:
35+
- port: "53"
36+
protocol: UDP
37+
- port: "53"
38+
protocol: TCP
39+
- toEntities:
40+
- world
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- app.yaml
5+
- cnp.yaml

environments/customers/a01/overlays/prod/kustomization.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ namePrefix: "a01-"
44
nameSuffix: "-prod"
55
resources:
66
- ../../../../../apps/gameservers/seven-days-to-die/
7+
- ../../../../../apps/gameservers/conan-exiles/
78
# - ../../../../../apps/gameservers/hytale/skyblock/
89
- ../../../../../apps/filehosting/nextcloud/
910
# - ../../../../../apps/productivity/overleaf/
@@ -23,6 +24,10 @@ patches:
2324
kind: Application
2425
name: sdtd
2526
path: patches/sdtd-values.yaml
27+
- target:
28+
kind: Application
29+
name: conan
30+
path: patches/ce-values.yaml
2631
# - target:
2732
# kind: Application
2833
# name: sdtd
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: patch
5+
namespace: argocd
6+
spec:
7+
destination:
8+
namespace: a01-conan-prod
9+
source:
10+
helm:
11+
valuesObject:
12+
gameService:
13+
annotations:
14+
"lbipam.cilium.io/ips": "10.130.5.236"
15+
# Conan Exiles values for game-servers chart
16+
# Conan server settings rendered into DefaultServerSettings.ini
17+
serverConfig:
18+
PlayerFoodMultiplier: "1.000000"
19+
PlayerWaterMultiplier: "1.000000"
20+
PlayerIdleThirstMultiplier: "1.000000"
21+
PlayerActiveThirstMultiplier: "1.000000"
22+
PlayerOfflineThirstMultiplier: "0.000000"
23+
PlayerIdleHungerMultiplier: "1.000000"
24+
PlayerActiveHungerMultiplier: "1.000000"
25+
PlayerOfflineHungerMultiplier: "0.000000"
26+
ShieldDurabilityMultiplier: "1.000000"
27+
NoOwnership: "False"
28+
BuildingRadialDestructionForceMultiplier: "500.000000"
29+
LogoutCharactersRemainInTheWorld: "True"
30+
DurabilityMultiplier: "1.000000"
31+
DropEquipmentOnDeath: "1"
32+
EverybodyCanLootCorpse: "False"
33+
TetheringMinLimit: "12000.0"
34+
TetheringMaxLimit: "102000.0"
35+
CoopTetheringLimit: "52000.0"
36+
TetheringRangeDelta: "2000.0"
37+
DayCycleSpeedScale: "1.000000"
38+
DayTimeSpeedScale: "1.000000"
39+
NightTimeSpeedScale: "1.000000"
40+
DawnDuskSpeedScale: "1.000000"
41+
ClientCatchUpTime: "10.000000"
42+
UseClientCatchUpTime: "True"
43+
PlayerHealthMultiplier: "1.000000"
44+
PlayerStaminaMultiplier: "1.000000"
45+
StaminaCostMultiplier: "1.000000"
46+
ItemSpoilRateScale: "1.000000"
47+
HarvestAmountMultiplier: "1.000000"
48+
ResourceRespawnSpeedMultiplier: "1.000000"
49+
NPCMindReadingMode: "None"
50+
MaxNudity: "2" # None 0, Partial 1, Full 2
51+
ServerCommunity: "Relaxed"
52+
ChatHasGlobal: "True"
53+
ChatLocalRadius: "5000.000000"
54+
ChatMaxMessageLength: "512"
55+
ChatFloodControlAheadCounter: "10"
56+
EnableSandStorm: "True"
57+
ClanMaxSize: "30"
58+
IsLoadErrorsFatal: "False"
59+
ConfigVersion: "2"
60+
BlueprintConfigVersion: "1"
61+
IPBlackList: '("8.8.8.8","8.8.4.4")'
62+
PurgeLevel: "6"
63+
PurgeDelay: "2"
64+
RestrictPurgeTime: "false"
65+
PurgeRestrictionWeekdayStart: "1800"
66+
PurgeRestrictionWeekdayEnd: "2200"
67+
PurgeRestrictionWeekendStart: "1800"
68+
PurgeRestrictionWeekendEnd: "2200"
69+
MinPurgeOnlinePlayers: "1"
70+
ClanPurgeTrigger: "25000"
71+
ClanScoreUpateFrequency: "15"
72+
PurgeDuration: "30"
73+
PurgePreparationTime: "10"
74+
AllowBuilding: "False"
75+
EnablePurge: "True"
76+
PurgeNPCBuildingDamageMultiplier: "(5.0, 5.0, 10.0, 15.0, 20.0, 25.0)"
77+
PlayerBuildingDamageMultiplier: "0.01"
78+
OverrideDecayMaxBuildingPieces: "6"
79+
OverrideDecayTime: "3600"
80+
EnableWhitelist: "False"
81+
EnableBanCheck: "True"
82+
StormEnabled: "true"
83+
ElderThingsEnabled: "true"
84+
ElderThingsIdleLifespan: "30.000000"
85+
SiegeElderThingsEnabled: "false"
86+
StormCooldown: "105.000000"
87+
StormAccumulationTime: "1.000000"
88+
StormDuration: "15.000000"
89+
StormDissipationTime: "1.000000"
90+
StormEnduranceDrainMultiplier: "0.000000"
91+
ElderThingSpawnRate: "1.000000"
92+
StormTimeWeekdayStart: "0000"
93+
StormTimeWeekdayEnd: "2359"
94+
StormTimeWeekendStart: "0000"
95+
StormTimeWeekendEnd: "2359"
96+
StormMinimumOnlinePlayers: "0"
97+
StormBuildingAllowed: "true"
98+
StormMapBlocker: "true"
99+
ElderThingSiegeDamageMultiplier: "1.000000"
100+
MinimumBuildingSizeToBeSieged: "41"
101+
AmbientElderThingRespawnRate: "1.000000"
102+
SiegeElderThingRespawnRate: "1.000000"
103+
StormBuildingDamageRateMultiplier: "1.000000"
104+
MaxAmbientElderThings: "700"
105+
MaxSiegeElderThings: "5"
106+
MaxAmbushElderThings: "200"
107+
ElderThingSiegeBuildingSizeMultiplier: "1.000000"
108+
StormBuildingDamageEnabled: "false"
109+
SiegeElderThingMapMarkers: "false"
110+
MinimumStormDamageBuildingPieces: "0"
111+
StormBuildingDamageMultiplier: "1.000000"
112+
VaultRefreshTime: "10"
113+
VaultRefreshDeviation: "2"
114+
SurgeDeviationMin: "60"
115+
SurgeDeviationMax: "60"
116+
SurgeSacrificeRequirementMultiplier: "1.000000"
117+
SurgeDespawnTimer: "90"
118+
AltarModuleActiveTimeMultiplier: "1.000000"
119+
RandomSurgesCountMin: "6"
120+
RandomSurgesCountMax: "10"
121+
DecoupleSurgeFromStorm: "false"
122+
DecoupledSurgeCooldown: "5"
123+
EnableBuildingDestructionCapsules: "false"
124+
ServerTransferEnabled: "true"
125+
CanImportDirectlyFromSameServer: "true"
126+
FeatsBlacklist: ""
127+
BuildingPVPWhitelist: '("80901", "80111", "80112", "80915", "80912")'
128+
persistence:
129+
enabled: true
130+
storageClassName: proxmox
131+
accessMode: ReadWriteOnce
132+
size: 40Gi
133+

0 commit comments

Comments
 (0)