Skip to content

Commit

Permalink
Merge pull request #45 from chrisjohnson00/main
Browse files Browse the repository at this point in the history
feat: adding support for priority class name
  • Loading branch information
Addyvan authored Mar 7, 2022
2 parents ec21b15 + 7eaf126 commit 7cabace
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ helm install valheim-server valheim-k8s/valheim-k8s \
## Configuration

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

## Persistence

Expand Down
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: valheim-k8s
description: Basic chart for deploying valheim to a k8s homelab
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
type: application
version: 0.2.0
version: 1.1.5
appVersion: 1.16.0
3 changes: 3 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ spec:
{{ end }}
{{ end }}
{{ end }}
{{ if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{ end }}
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ nodeSelector: {}

tolerations: {}

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

# resources:
# requests:
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.6
1.1.0

0 comments on commit 7cabace

Please sign in to comment.