Update deployment.yaml

This commit is contained in:
Daniel Hougaard
2025-12-09 12:56:43 +04:00
parent b2031064d1
commit e47f8e6ba6
@@ -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 }}