modify deployment and chart for opionated deployment

This commit is contained in:
michaelell
2024-01-26 13:02:36 -05:00
parent 243420f5a4
commit 5428c326f3
3 changed files with 6 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ spec:
matchLabels:
app.kubernetes.io/component: "{{ .Release.Name }}-server"
template:
strategy:
type: "{{ .Values.server.strategy }}"
metadata:
annotations:
{{- with .Values.server.annotations }}

View File

@@ -56,6 +56,8 @@ server:
- name: rcon
containerPort: 25575
protocol: UDP
# -- (string) Change the deployment strategy
strategy: Recreate
# -- (dict) Change the service configuration.
# If you change those, make sure to change the server.config and server.ports accordingly.

View File

@@ -6,6 +6,8 @@ metadata:
name: palworld-server
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: palworld-server