issues/27: test contour adminpanel cabinet Redmine fixes

This commit is contained in:
Valery Petrov
2026-05-29 20:06:46 +03:00
parent 0edd6d44a8
commit ea2e9d6054
11 changed files with 134 additions and 1 deletions
+13
View File
@@ -19,6 +19,10 @@ metadata:
name: cabinet-nginx-config
namespace: {{ .Values.namespace }}
data:
php-custom.ini: |
display_errors=Off
log_errors=On
error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
default.conf: |
server {
listen 8080;
@@ -94,6 +98,9 @@ spec:
mountPath: /app/var/cache
- name: var-log
mountPath: /app/var/log
- name: php-config
mountPath: /usr/local/etc/php/conf.d/99-sova.ini
subPath: php-custom.ini
resources:
{{- toYaml .Values.resources.php | nindent 12 }}
- name: nginx
@@ -128,6 +135,9 @@ spec:
mountPath: /app/var/cache
- name: var-log
mountPath: /app/var/log
- name: php-config
mountPath: /usr/local/etc/php/conf.d/99-sova.ini
subPath: php-custom.ini
- name: copy-public
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
command: ["sh", "-c", "cp -a /app/public/. /public/"]
@@ -140,6 +150,9 @@ spec:
- name: nginx-config
configMap:
name: cabinet-nginx-config
- name: php-config
configMap:
name: cabinet-nginx-config
- name: var-cache
emptyDir: {}
- name: var-log