Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsvanloef committed Feb 6, 2024
1 parent c8017e3 commit ddfb3c6
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 24 deletions.
3 changes: 3 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ rules:
trailing-spaces: enable
truthy:
level: warning

ignore:
- charts/palworld/templates/*.yaml
1 change: 1 addition & 0 deletions charts/cr.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
release-name-template: "chart-{{ .Version }}"
25 changes: 14 additions & 11 deletions charts/palworld/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
---
apiVersion: v2
name: palworld
version: 0.1.0
description: This chart will provide a Palworld server installation on a kubernetes cluster
type: application
keywords:
- palworld
- server
- kubernetes
- helm
- palworld
- server
- kubernetes
- helm
home: https://github.com/thijsvanloef/palworld-server-docker
sources:
- https://github.com/thijsvanloef/palworld-server-docker
- https://github.com/thijsvanloef/palworld-server-docker
maintainers:
- name: Filipe Souza
email: [email protected]
url: https://github.com/Filipe-Souza
- name: Twinki
url: https://github.com/Twinki14
- name: Filipe Souza
email: [email protected]
url: https://github.com/Filipe-Souza
- name: Twinki
url: https://github.com/Twinki14
icon: https://cdn.akamai.steamstatic.com/steam/apps/1623730/header.jpg
appVersion: "latest"
deprecated: false
Expand All @@ -31,4 +32,6 @@ annotations:
artifacthub.io/images: |
- name: palworld-server-docker
image: thijsvanloef/palworld-server-docker:latest
artifacthub.io/screenshots: https://cdn.akamai.steamstatic.com/steam/apps/1623730/header.jpg
artifacthub.io/screenshots: |
- title: PalWorld
url: https://cdn.akamai.steamstatic.com/steam/apps/1623730/header.jpg
17 changes: 9 additions & 8 deletions charts/palworld/values.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
# -- Namespace where the resources will be created
namespace: palworld
# -- (dict) The server configuration
# @notationType -- bigValue
server:
# -- Additional annotations to the resources
annotations: { }
annotations: {}
# -- Additional labels to the resources
labels: { }
labels: {}
# -- (dict) Resources limits for the container.
resources:
limits:
Expand Down Expand Up @@ -66,9 +67,9 @@ server:
# -- (bool) Enables the creation of the service component.
enabled: true
# -- Additional annotations to the resources
annotations: { }
annotations: {}
# -- Additional labels to the resources
labels: { }
labels: {}
# -- (string) The type of service to be created.
# For minikube, set this to NodePort, elsewhere use LoadBalancer
# Use ClusterIP if your setup includes ingress controller
Expand Down Expand Up @@ -109,9 +110,9 @@ server:
# @notationType -- bigValue
config:
# -- Additional annotations to the resources
annotations: { }
annotations: {}
# -- Additional labels to the resources
labels: { }
labels: {}
puid: 1000
pgid: 1000
port: 8211
Expand Down Expand Up @@ -154,8 +155,8 @@ server:
# THIS HAS TO BE ENABLED THE FIRST TIME YOU RUN THE CONTAINER
update_on_boot: true
daily_reboot:
# -- (bool) Enable daily reboot.
# Disabled by default
# -- (bool) Enable daily reboot.
# Disabled by default
enable: false
# -- (string) The time (UTC) the server will perform the reboot.
# By default, this schedules the restart at 9:30am UTC. Please note, this is using cron syntax.
Expand Down
9 changes: 5 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
---
services:
palworld:
image: thijsvanloef/palworld-server-docker:latest
restart: unless-stopped
container_name: palworld-server
stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop
stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop
ports:
- 8211:8211/udp
- 27015:27015/udp # Required if you want your server to show up in the community servers tab
- 27015:27015/udp # Required if you want your server to show up in the community servers tab
environment:
- PUID=1000
- PGID=1000
- PORT=8211 # Optional but recommended
- PLAYERS=16 # Optional but recommended
- PORT=8211 # Optional but recommended
- PLAYERS=16 # Optional but recommended
- SERVER_PASSWORD=worldofpals # Optional but recommended
- MULTITHREADING=true
- RCON_ENABLED=true
Expand Down
2 changes: 1 addition & 1 deletion k8s/examples/cronjob-reboot/cm.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
Expand Down Expand Up @@ -27,4 +28,3 @@ data:
exec_rcon_cmd "Shutdown 1"
sleep 30
kubectl -n palworld rollout restart deployment/palworld-server

0 comments on commit ddfb3c6

Please sign in to comment.