Skip to content

Commit

Permalink
Merge pull request #31 from alchemy-fr/PHRAS-4053-redis-native-session
Browse files Browse the repository at this point in the history
PHRAS-4053 : redis native session
  • Loading branch information
moctardiouf authored Apr 30, 2024
2 parents 53b84b9 + 8ae37cd commit 56d17ff
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/phraseanet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.35.0
version: 0.36.0


# This is the version number of the application being deployed. This version number should be
Expand Down
4 changes: 3 additions & 1 deletion charts/phraseanet/templates/phraseanet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ spec:
value: {{ .Values.app.phraseanet_rabbitmq_ssl | quote }}
- name: PHRASEANET_RABBITMQ_HEARTBEAT
value: {{ .Values.rabbitmq.heartbeat | quote }}
- name: PHRASEANET_USER_SESSION_LIFETIME
value: {{ .Values.app.phraseanet_user_session_lifetime | quote }}
- name: PHRASEANET_CACHE_TYPE
value: {{ .Values.app.phraseanet_cache_type | quote }}
- name: PHRASEANET_CACHE_HOST
Expand Down Expand Up @@ -240,4 +242,4 @@ spec:
value: "C.UTF-8"
- name: LC_NAME
value: "C.UTF-8"
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/phraseanet/templates/worker-cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ spec:
value: {{ .Values.php.session_save_handler | quote }}
- name: SESSION_SAVE_PATH
value: {{ .Values.php.session_save_path | quote }}
- name: PHRASEANET_USER_SESSION_LIFETIME
value: {{ .Values.app.phraseanet_user_session_lifetime | quote }}
- name: XDEBUG
value: "0"
- name: NEWRELIC_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions charts/phraseanet/templates/worker-exportemail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ spec:
value: {{ .Values.php.session_save_handler | quote }}
- name: SESSION_SAVE_PATH
value: {{ .Values.php.session_save_path | quote }}
- name: PHRASEANET_USER_SESSION_LIFETIME
value: {{ .Values.app.phraseanet_user_session_lifetime | quote }}
- name: XDEBUG
value: "0"
- name: NEWRELIC_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions charts/phraseanet/templates/worker-exportftp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ spec:
value: {{ .Values.php.session_save_handler | quote }}
- name: SESSION_SAVE_PATH
value: {{ .Values.php.session_save_path | quote }}
- name: PHRASEANET_USER_SESSION_LIFETIME
value: {{ .Values.app.phraseanet_user_session_lifetime | quote }}
- name: XDEBUG
value: "0"
- name: NEWRELIC_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions charts/phraseanet/templates/worker-noscalable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ spec:
value: {{ .Values.php.session_save_handler | quote }}
- name: SESSION_SAVE_PATH
value: {{ .Values.php.session_save_path | quote }}
- name: PHRASEANET_USER_SESSION_LIFETIME
value: {{ .Values.app.phraseanet_user_session_lifetime | quote }}
- name: XDEBUG
value: "0"
- name: NEWRELIC_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions charts/phraseanet/templates/worker-ps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ spec:
value: {{ .Values.php.session_save_handler | quote }}
- name: SESSION_SAVE_PATH
value: {{ .Values.php.session_save_path | quote }}
- name: PHRASEANET_USER_SESSION_LIFETIME
value: {{ .Values.app.phraseanet_user_session_lifetime | quote }}
- name: XDEBUG
value: "0"
- name: NEWRELIC_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions charts/phraseanet/templates/worker-records.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ spec:
value: {{ .Values.php.session_save_handler | quote }}
- name: SESSION_SAVE_PATH
value: {{ .Values.php.session_save_path | quote }}
- name: PHRASEANET_USER_SESSION_LIFETIME
value: {{ .Values.app.phraseanet_user_session_lifetime | quote }}
- name: XDEBUG
value: "0"
- name: NEWRELIC_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions charts/phraseanet/templates/worker-subdefcreation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ spec:
value: {{ .Values.php.session_save_handler | quote }}
- name: SESSION_SAVE_PATH
value: {{ .Values.php.session_save_path | quote }}
- name: PHRASEANET_USER_SESSION_LIFETIME
value: {{ .Values.app.phraseanet_user_session_lifetime | quote }}
- name: XDEBUG
value: "0"
- name: NEWRELIC_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions charts/phraseanet/templates/worker-writemetadatas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ spec:
value: {{ .Values.php.session_save_handler | quote }}
- name: SESSION_SAVE_PATH
value: {{ .Values.php.session_save_path | quote }}
- name: PHRASEANET_USER_SESSION_LIFETIME
value: {{ .Values.app.phraseanet_user_session_lifetime | quote }}
- name: XDEBUG
value: "0"
- name: NEWRELIC_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions charts/phraseanet/templates/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ spec:
value: {{ .Values.php.session_save_handler | quote }}
- name: SESSION_SAVE_PATH
value: {{ .Values.php.session_save_path | quote }}
- name: PHRASEANET_USER_SESSION_LIFETIME
value: {{ .Values.app.phraseanet_user_session_lifetime | quote }}
- name: XDEBUG
value: "0"
- name: NEWRELIC_ENABLED
Expand Down

0 comments on commit 56d17ff

Please sign in to comment.