diff --git a/README.md b/README.md index 4e4453d..fd9c732 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,9 @@ This implementation just logs to emptyDir by default, but you can mount a direct ### Values YAML containerPort: the port on which Jamulus will run and the port will be exposed to the service + maxUsers: the maximum number of users able to connect to Jamulus at once + serverMessage: the message shown to the user when connecting to the Jamulus server ## Credits diff --git a/templates/jamulus.deployment.yml b/templates/jamulus.deployment.yml index b83013b..8a36e92 100644 --- a/templates/jamulus.deployment.yml +++ b/templates/jamulus.deployment.yml @@ -29,6 +29,13 @@ spec: - "-u" - "{{ .Values.maxUsers }}" - "-T" - resources: - limits: - ephemeral-storage: 4G \ No newline at end of file + - "-l" + - "{{ .Values.containerLog }}" + volumeMounts: + - mountPath: {{ .Values.containerMountPath }} + name: {{ .Values.containerMountName }} + volumes: + - name: {{ .Values.containerMountName }} + hostPath: + path: {{ .Values.localMountPath }} + type: Directory \ No newline at end of file diff --git a/values.yaml b/values.yaml index 8c8bc46..b07ddfa 100644 --- a/values.yaml +++ b/values.yaml @@ -2,4 +2,9 @@ containerPort: 22124 #Set this to whatever you like maxUsers: 15 #Set this to whatever you like -serverMessage: Welcome message goes here! \ No newline at end of file +serverMessage: Welcome message goes here! +#Location in the container to which you're logging +containerMountPath: /jam +containerMountName: jam +#Location on your filesystem to associate the /jam dir +localMountPath: /var/log \ No newline at end of file