feat(helm): Override the tmp directory path
This commit is contained in:
parent
8b0054afb7
commit
aca0213fcf
14 changed files with 14 additions and 13 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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_*_*_*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue