Skip to content

Commit

Permalink
chore: added init container to helm chart palserver for perm configur…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
malahayatii committed Mar 31, 2024
1 parent 39990d9 commit ee1f497
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/minecraft-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ A minecraft-server helm chart for Kubernetes
| tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0)
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
4 changes: 2 additions & 2 deletions charts/palserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.0.6"
appVersion: "0.0.1"
4 changes: 2 additions & 2 deletions charts/palserver/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# palserver

![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.6](https://img.shields.io/badge/AppVersion-0.0.6-informational?style=flat-square)
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down Expand Up @@ -40,4 +40,4 @@ A Helm chart for Kubernetes
| tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0)
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
Binary file removed charts/palserver/charts/palserver-0.1.2.tgz
Binary file not shown.
Binary file added charts/palserver/charts/palserver-0.1.3.tgz
Binary file not shown.
7 changes: 7 additions & 0 deletions charts/palserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ spec:
claimName: {{ .Values.storage.name }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: set-ownership
image: busybox
command: ["chown", "-R", "1000:1000", "/home/steam/Steam/steamapps/common/PalServer"]
volumeMounts:
- mountPath: /home/steam/Steam/steamapps/common/PalServer
name: data
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down

0 comments on commit ee1f497

Please sign in to comment.