Skip to content

Commit

Permalink
fix k8s exec error
Browse files Browse the repository at this point in the history
  • Loading branch information
win5923 authored Feb 3, 2024
1 parent 24c4071 commit 43c8aad
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions charts/palworld/templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ spec:
lifecycle:
preStop:
exec:
command: ["/bin/sh", "-c"]
args:
- |
rcon-cli save
backup
command:
- "sh"
- "-c"
- rcon-cli save && backup
resources:
{{- with .Values.server.resources }}
{{- toYaml . | nindent 12 }}
Expand Down

0 comments on commit 43c8aad

Please sign in to comment.