Fix ing, deployment
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
variables:
|
variables:
|
||||||
HELM_CHART_VERSION: "1.0.13"
|
HELM_CHART_VERSION: "1.0.14"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- if and .Values.storage.cloud.active .Values.storage.local.active }}
|
{{- if and .Values.storage.cloud.active .Values.storage.local.active .Values.storage.local.cloneCloud }}
|
||||||
- name: init-local-storage
|
- name: init-local-storage
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
@@ -140,9 +140,6 @@ spec:
|
|||||||
image: "{{ .Values.site.image }}"
|
image: "{{ .Values.site.image }}"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: serverconfig
|
|
||||||
mountPath: /init-go/config.json
|
|
||||||
subPath: init.json
|
|
||||||
- name: serverconfig
|
- name: serverconfig
|
||||||
mountPath: /docker-entrypoint.d/unit.json
|
mountPath: /docker-entrypoint.d/unit.json
|
||||||
subPath: unit.json
|
subPath: unit.json
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ metadata:
|
|||||||
{{- include "..labels" . | nindent 4 }}
|
{{- include "..labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
{{- if and .Values.site.certificate.certManager .Values.site.certificate.importCert }}
|
{{- if or .Values.site.certificate.certManager .Values.site.certificate.importCert }}
|
||||||
tls:
|
tls:
|
||||||
- secretName: {{ include "..fullname" . }}-cert-secret
|
- secretName: {{ include "..fullname" . }}-cert-secret
|
||||||
hosts: {{ include "..domains" . | nindent 6 }}
|
hosts: {{ include "..domains" . | nindent 6 }}
|
||||||
@@ -20,6 +20,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
{{- range include "..domains" . | split "\n" }}
|
{{- range include "..domains" . | split "\n" }}
|
||||||
|
{{- if ne . "" }}
|
||||||
- host: {{ . | replace "- " ""}}
|
- host: {{ . | replace "- " ""}}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
@@ -30,4 +31,5 @@ spec:
|
|||||||
name: {{ include "..fullname" $ }}
|
name: {{ include "..fullname" $ }}
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -115,6 +115,7 @@ storage:
|
|||||||
|
|
||||||
local:
|
local:
|
||||||
active: true
|
active: true
|
||||||
|
cloneCloud: False
|
||||||
class: "longhorn"
|
class: "longhorn"
|
||||||
|
|
||||||
folders:
|
folders:
|
||||||
@@ -153,6 +154,11 @@ email:
|
|||||||
emails:
|
emails:
|
||||||
- email
|
- email
|
||||||
|
|
||||||
|
unit:
|
||||||
|
maxProc: 5
|
||||||
|
spareProc: 2
|
||||||
|
spareProcTimeout: 30
|
||||||
|
|
||||||
php:
|
php:
|
||||||
logErrors: "On"
|
logErrors: "On"
|
||||||
displayErrors: "Off"
|
displayErrors: "Off"
|
||||||
|
|||||||
Reference in New Issue
Block a user