feat(helm): Override the tmp directory path

This commit is contained in:
rjshrjndrn 2024-03-26 14:34:21 +01:00
parent ad37e94cc7
commit bffd6e51b4
18 changed files with 18 additions and 17 deletions

View file

@ -105,7 +105,7 @@ spec:
- name: datadir
hostPath:
# Ensure the file directory is created.
path: {{ .Values.pvc.hostMountPath }}
path: {{ tpl .Values.pvc.hostMountPath . }}
type: DirectoryOrCreate
{{- else }}
volumes:

View file

@ -104,7 +104,7 @@ pvc:
# For example
# name: openreplay-efs
name: "{{ .Values.global.pvcRWXName }}"
hostMountPath: /openreplay/storage/nfs
hostMountPath: "{{ .Values.global.orTmpDir }}"
persistence: {}
# # Spec of spec.template.spec.containers[*].volumeMounts

View file

@ -105,7 +105,7 @@ spec:
- name: datadir
hostPath:
# Ensure the file directory is created.
path: {{ .Values.pvc.hostMountPath }}
path: {{ tpl .Values.pvc.hostMountPath . }}
type: DirectoryOrCreate
{{- else }}
volumes:

View file

@ -104,7 +104,7 @@ pvc:
# For example
# name: openreplay-efs
name: "{{ .Values.global.pvcRWXName }}"
hostMountPath: /openreplay/storage/nfs
hostMountPath: "{{ .Values.global.orTmpDir }}"
persistence: {}
# # Spec of spec.template.spec.containers[*].volumeMounts

View file

@ -166,7 +166,7 @@ spec:
- name: datadir
hostPath:
# Ensure the file directory is created.
path: {{ .Values.pvc.hostMountPath }}
path: {{ tpl .Values.pvc.hostMountPath . }}
type: DirectoryOrCreate
{{- with .Values.persistence.volumes }}
{{- toYaml . | nindent 6 }}

View file

@ -134,7 +134,7 @@ pvc:
# For example
# name: openreplay-efs
name: "{{ .Values.global.pvcRWXName }}"
hostMountPath: /openreplay/storage/nfs
hostMountPath: "{{ .Values.global.orTmpDir }}"
persistence: {}
# # Spec of spec.template.spec.containers[*].volumeMounts

View file

@ -105,7 +105,7 @@ spec:
- name: datadir
hostPath:
# Ensure the file directory is created.
path: {{ .Values.pvc.hostMountPath }}
path: {{ tpl .Values.pvc.hostMountPath . }}
type: DirectoryOrCreate
{{- else }}
volumes:

View file

@ -104,7 +104,7 @@ pvc:
# For example
# name: openreplay-efs
name: "{{ .Values.global.pvcRWXName }}"
hostMountPath: /openreplay/storage/nfs
hostMountPath: "{{ .Values.global.orTmpDir }}"
persistence: {}
# # Spec of spec.template.spec.containers[*].volumeMounts

View file

@ -87,7 +87,7 @@ spec:
- name: datadir
hostPath:
# Ensure the file directory is created.
path: {{ .Values.pvc.hostMountPath }}
path: {{ tpl .Values.pvc.hostMountPath . }}
type: DirectoryOrCreate
{{- include "openreplay.volume.redis_ca_certificate" .Values.global.redis | nindent 6 }}
{{- with .Values.persistence.volumes }}

View file

@ -103,7 +103,7 @@ pvc:
# For example
# name: openreplay-efs
name: "{{ .Values.global.pvcRWXName }}"
hostMountPath: /openreplay/storage/nfs
hostMountPath: "{{ .Values.global.orTmpDir }}"
persistence: {}
# # Spec of spec.template.spec.containers[*].volumeMounts

View file

@ -105,7 +105,7 @@ spec:
- name: datadir
hostPath:
# Ensure the file directory is created.
path: {{ .Values.pvc.hostMountPath }}
path: {{ tpl .Values.pvc.hostMountPath . }}
type: DirectoryOrCreate
{{- else }}
volumes:

View file

@ -104,7 +104,7 @@ pvc:
# For example
# name: openreplay-efs
name: "{{ .Values.global.pvcRWXName }}"
hostMountPath: /openreplay/storage/nfs
hostMountPath: "{{ .Values.global.orTmpDir }}"
persistence: {}
# # Spec of spec.template.spec.containers[*].volumeMounts

View file

@ -48,7 +48,7 @@ spec:
- name: datadir
hostPath:
# Ensure the file directory is created.
path: {{ .Values.efsCleaner.pvc.hostMountPath }}
path: {{ tpl .Values.efsCleaner.pvc.hostMountPath . }}
type: DirectoryOrCreate
{{- else }}
volumes:

View file

@ -12,7 +12,7 @@ efsCleaner:
# For example
# name: openreplay-efs
name: "{{ .Values.global.pvcRWXName }}"
hostMountPath: /openreplay/storage/nfs
hostMountPath: "{{ .Values.global.orTmpDir }}"
telemetry:
# https://crontab.guru/#5_12_*_*_*

View file

@ -105,7 +105,7 @@ spec:
- name: datadir
hostPath:
# Ensure the file directory is created.
path: {{ .Values.pvc.hostMountPath }}
path: {{ tpl .Values.pvc.hostMountPath . }}
type: DirectoryOrCreate
{{- else }}
volumes:

View file

@ -104,7 +104,7 @@ pvc:
# For example
# name: openreplay-efs
name: "{{ .Values.global.pvcRWXName }}"
hostMountPath: /openreplay/storage/nfs
hostMountPath: "{{ .Values.global.orTmpDir }}"
persistence: {}
# # Spec of spec.template.spec.containers[*].volumeMounts

View file

@ -346,7 +346,7 @@ spec:
- name: datadir
hostPath:
# Ensure the file directory is created.
path: /openreplay/storage/nfs
path: {{.Values.global.orTmpDir}}
type: DirectoryOrCreate
{{- else }}
- name: datadir

View file

@ -47,6 +47,7 @@ global:
env: {}
# If you're accessing OpenReplay with http, then update the value to http
ORSecureAccess: true
orTmpDir: "/openreplay/storage/nfs"
chalice:
env: