Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions base/api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
labels:
app: api
spec:
terminationGracePeriodSeconds: 30
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are defaults already on the cluster

serviceAccountName: server-creator
dnsConfig:
options:
Expand Down
5 changes: 5 additions & 0 deletions base/game-server-node-connector/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ metadata:
name: game-server-node-connector
namespace: 5stack
spec:
updateStrategy:
Comment thread
lukepolo marked this conversation as resolved.
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
selector:
matchLabels:
app: game-server-node-connector
Expand All @@ -14,6 +18,7 @@ spec:
labels:
app: game-server-node-connector
spec:
terminationGracePeriodSeconds: 30
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are defaults already on the cluster

dnsConfig:
options:
- name: ndots
Expand Down
1 change: 1 addition & 0 deletions base/hasura/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
labels:
app: hasura
spec:
terminationGracePeriodSeconds: 30
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are defaults already on the cluster

dnsConfig:
options:
- name: ndots
Expand Down
5 changes: 5 additions & 0 deletions setup-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ if [ -z "$WEB_DOMAIN" ] || [ -z "$WS_DOMAIN" ] || [ -z "$API_DOMAIN" ] || [ -z "
echo "Base domain cannot be empty. Please enter your base domain (e.g. example.com):"
read WEB_DOMAIN
fi

if [ -z "$WEB_DOMAIN" ] || echo "$WEB_DOMAIN" | grep -q ' '; then
echo "ERROR: Invalid domain '$WEB_DOMAIN'. Domain must be non-empty and contain no spaces."
exit 1
fi

echo "WEB_DOMAIN: $WEB_DOMAIN"
update_env_var "overlays/config/api-config.env" "WEB_DOMAIN" "$WEB_DOMAIN"
Expand Down