Merge local changes
This commit is contained in:
1 parent
ea29e6942c
commit
3d1fc8a638
12 files changed
+366
-15
No files matched your search
@@ -0,0 +1,40 @@
|
||||
#!/bin/bash
|
||||
|
||||
BG_NAME="sh-b17a5f036d1f7882-bzhczd"
|
||||
NAMESPACE="funcom-seabass-sh-b17a5f036d1f7882-bzhczd"
|
||||
|
||||
echo "Patching battlegroup: $BG_NAME"
|
||||
|
||||
sudo kubectl patch battlegroup "$BG_NAME" -n "$NAMESPACE" --type=merge -p '{
|
||||
"spec": {
|
||||
"serverGroup": {
|
||||
"template": {
|
||||
"spec": {
|
||||
"sets": [
|
||||
{
|
||||
"map": "DeepDesert_1",
|
||||
"partitions": [8, 30],
|
||||
"replicas": 2,
|
||||
"resources": {
|
||||
"limits": {
|
||||
"memory": "15Gi"
|
||||
}
|
||||
},
|
||||
"arguments": [
|
||||
"-FarmRegion=North America Test",
|
||||
"-RMQGameTlsEnabled=true"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}'
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Patch applied successfully"
|
||||
else
|
||||
echo "Failed to apply patch"
|
||||
exit 1
|
||||
fi
|
||||
Reference in new issue
Block a user