Skip to content

Commit 7cabace

Browse files
authored
Merge pull request #45 from chrisjohnson00/main
feat: adding support for priority class name
2 parents ec21b15 + 7eaf126 commit 7cabace

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ helm install valheim-server valheim-k8s/valheim-k8s \
2020
## Configuration
2121

2222
| Parameter | Description | Default |
23-
| :----------------------------------- | :--------------------------------------------------------------------- | :------------------------ |
23+
|:-------------------------------------|:-----------------------------------------------------------------------|:--------------------------|
2424
| `worldName` | Prefix of the world files to use (will make new if missing) | `example-world-name` |
2525
| `serverName` | Server name displayed in the server browser(s) | `example-server-name` |
2626
| `password` | Server password | `password` |
@@ -40,6 +40,7 @@ helm install valheim-server valheim-k8s/valheim-k8s \
4040
| `tolerations` | | `[]` |
4141
| `image.repository` | Specifies container image repository | `lloesche/valheim-server` |
4242
| `image.tag` | Specifies container image tag | `latest` |
43+
| `priorityClassName` | Specifies the priority class name for the deployment | None |
4344

4445
## Persistence
4546

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name: valheim-k8s
33
description: Basic chart for deploying valheim to a k8s homelab
44
icon: https://www.google.com/url?sa=i&url=https%3A%2F%2Fstore.steampowered.com%2Fapp%2F892970%2FValheim%2F&psig=AOvVaw1MMOQJzse-eyruGtGG0DEs&ust=1641045420126000&source=images&cd=vfe&ved=0CAsQjRxqFwoTCIDmhd2YjvUCFQAAAAAdAAAAABAJ
55
type: application
6-
version: 0.2.0
6+
version: 1.1.5
77
appVersion: 1.16.0

chart/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,6 @@ spec:
9494
{{ end }}
9595
{{ end }}
9696
{{ end }}
97+
{{ if .Values.priorityClassName }}
98+
priorityClassName: {{ .Values.priorityClassName }}
99+
{{ end }}

chart/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ nodeSelector: {}
3333

3434
tolerations: {}
3535

36+
# If you utilize priority classes, you can define the priority class for this deployment here
37+
# priorityClassName: my-priority-class-name
3638

3739
# resources:
3840
# requests:

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.6
1+
1.1.0

0 commit comments

Comments
 (0)