issues/27: test contour adminpanel cabinet Redmine fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user