mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 23:26:09 +00:00
Update deployment.yaml
This commit is contained in:
@@ -54,10 +54,13 @@ spec:
|
|||||||
containerPort: {{ .Values.service.port }}
|
containerPort: {{ .Values.service.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: infisical-gateway-session-recordings-data
|
|
||||||
mountPath: {{ .Values.gateway.pamSessionRecordingsDirectory | default "/var/lib/infisical/session_recordings" }}
|
|
||||||
- name: infisical-gateway-cached-relay-data
|
- name: infisical-gateway-cached-relay-data
|
||||||
mountPath: /var/lib/infisical
|
mountPath: /var/lib/infisical
|
||||||
|
{{- $sessionPath := .Values.gateway.pamSessionRecordingsDirectory | default "/var/lib/infisical/session_recordings" }}
|
||||||
|
{{- if not (hasPrefix "/var/lib/infisical" $sessionPath) }}
|
||||||
|
- name: infisical-gateway-session-recordings-data
|
||||||
|
mountPath: {{ $sessionPath }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.resources }}
|
{{- with .Values.resources }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user