File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 11apiVersion : v2
22name : smarter-k3s-edge
3- version : 0.0.8
3+ version : 0.0.9
44type : application
55appVersion : v1.25.3-k3s1
66description : K3s server on kubernetes
Original file line number Diff line number Diff line change @@ -15,11 +15,32 @@ spec:
1515 pathType : Prefix
1616 backend :
1717 service :
18- name : {{ .Values.application.appName }}
18+ name : {{ .Values.application.appName }}-http
1919 port :
2020 number : {{ .Values.configuration.portHTTP }}
2121 tls :
2222 - secretName : {{ .Values.application.appName }}-tls
2323 hosts :
2424 - {{ .Values.configuration.host }}.{{ .Values.configuration.domain }}
25+ ---
26+ apiVersion : v1
27+ kind : Service
28+ metadata :
29+ name : {{ .Values.application.appName }}-http
30+ labels :
31+ name : {{ .Values.application.appName }}
32+ spec :
33+ selector :
34+ name : {{ .Values.application.appName }}
35+ ports :
36+ {{- if .Values.configuration.portHTTP }}
37+ - protocol : TCP
38+ port : {{ .Values.configuration.portHTTP }}
39+ name : {{ .Values.application.appName }}-http
40+ {{- end }}
41+ {{- if .Values.configuration.portHTTPS }}
42+ - protocol : TCP
43+ port : {{ .Values.configuration.portHTTPS }}
44+ name : {{ .Values.application.appName }}-https
45+ {{- end }}
2546{{- end }}
Original file line number Diff line number Diff line change 1111 - protocol : TCP
1212 port : {{ .Values.configuration.port }}
1313 name : {{ .Values.application.appName }}
14+ {{- if not .Values.configuration.traefik }}
1415 {{- if .Values.configuration.portHTTP }}
1516 - protocol : TCP
1617 port : {{ .Values.configuration.portHTTP }}
2122 port : {{ .Values.configuration.portHTTPS }}
2223 name : {{ .Values.application.appName }}-https
2324 {{- end }}
25+ {{- end }}
2426 externalIPs :
2527 - {{ .Values.configuration.hostIP }}
You can’t perform that action at this time.
0 commit comments