File tree 2 files changed +8
-3
lines changed
charts/adhoc-defaultbackend/v0.1.8/templates
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -61,12 +61,18 @@ spec:
61
61
- mountPath : /usr/share/nginx/html/logo_adhoc.png
62
62
name : nginx-index
63
63
subPath : logo_adhoc.png
64
+ - mountPath : /etc/nginx/nginx.conf
65
+ name : nginx-config
66
+ subPath : nginx.conf
64
67
resources :
65
68
{{- toYaml .Values.resources | nindent 12 }}
66
69
volumes :
67
70
- name : nginx-index
68
71
configMap :
69
72
name : {{ include "adhoc-defaultbackend.fullname" . }}-index
73
+ - name : nginx-config
74
+ configMap :
75
+ name : {{ include "adhoc-defaultbackend.fullname" . }}-nginx-config
70
76
affinity :
71
77
nodeAffinity :
72
78
requiredDuringSchedulingIgnoredDuringExecution :
Original file line number Diff line number Diff line change @@ -13,15 +13,14 @@ metadata:
13
13
{{- include "adhoc-defaultbackend.labels" . | nindent 4 }}
14
14
{{- with .Values.ingress.annotations }}
15
15
annotations :
16
- nginx.ingress.kubernetes.io/rewrite-target : /$1
17
16
{{- toYaml . | nindent 4 }}
18
17
{{- end }}
19
18
spec :
20
19
rules :
21
20
- http :
22
21
paths :
23
- - path : /(.*)
24
- pathType : " ImplementationSpecific "
22
+ - path : /
23
+ pathType : " Prefix "
25
24
backend :
26
25
service :
27
26
name : {{ include "adhoc-defaultbackend.fullname" . }}
You can’t perform that action at this time.
0 commit comments