File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed
Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.0.2
18+ version : 0.0.3
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 1+ {{- if .Values.settings.ui.ingress.enabled -}}
2+ apiVersion : networking.k8s.io/v1
3+ kind : Ingress
4+ metadata :
5+ name : ui-{{ include "bunkerweb.fullname" . }}
6+ namespace : {{ include "bunkerweb.namespace" . }}
7+ labels :
8+ {{- include "bunkerweb.labels" . | nindent 4 }}
9+ annotations :
10+ bunkerweb.io/SERVE_FILES : " no"
11+ bunkerweb.io/USE_UI : " yes"
12+ bunkerweb.io/INTERCEPTED_ERROR_CODES : ' 400 404 405 413 429 500 501 502 503 504'
13+ bunkerweb.io/MAX_CLIENT_SIZE : ' 50m'
14+ {{- with .Values.settings.ui.ingress.extraAnnotations }}
15+ {{- toYaml . | nindent 4 }}
16+ {{- end }}
17+ spec :
18+ {{- if .Values.settings.ui.ingress.tlsSecretName }}
19+ tls :
20+ - hosts :
21+ - {{ .Values.settings.ui.ingress.serverName }}
22+ secretName : {{ .Values.settings.ui.ingress.tlsSecretName }}
23+ {{- end }}
24+ rules :
25+ - host : {{ .Values.settings.ui.ingress.serverName }}
26+ http :
27+ paths :
28+ - path : {{ .Values.settings.ui.ingress.serverPath }}
29+ pathType : Prefix
30+ backend :
31+ service :
32+ name : ui-{{ include "bunkerweb.fullname" . }}
33+ port :
34+ number : 7000
35+ {{- end }}
Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ settings:
3434 redisPassword : " "
3535 ui :
3636 wizard : true
37+ ingress :
38+ enabled : false
39+ serverName : " "
40+ serverPath : " /"
41+ extraAnnotations : {}
42+ tlsSecretName : " "
3743 adminUsername : " "
3844 adminPassword : " "
3945 overrideAdminCreds : " no"
You can’t perform that action at this time.
0 commit comments