mirror of https://github.com/requarks/wiki
misc: modify helm chart for extended service features (#2192)
***NO_CI*** * feat: modify helm chart for extended service features * misc: helm values.yaml Co-authored-by: Nicolas Giard <github@ngpixel.com>pull/2269/head
parent
e8a11f82bc
commit
49f2410108
@ -1,15 +1,23 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "wiki.fullname" . }}
|
name: {{include "wiki.fullname" .}}
|
||||||
labels:
|
labels: {{- include "wiki.labels" . | nindent 4 }}
|
||||||
{{- include "wiki.labels" . | nindent 4 }}
|
{{- with .Values.service.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{.Values.service.type}}
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.service.port }}
|
- port: {{.Values.service.port}}
|
||||||
targetPort: http
|
targetPort: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
selector:
|
- port: {{.Values.service.httpsPort}}
|
||||||
{{- include "wiki.selectorLabels" . | nindent 4 }}
|
targetPort: http
|
||||||
|
protocol: TCP
|
||||||
|
name: https
|
||||||
|
selector: {{- include "wiki.selectorLabels" . | nindent 4}}
|
||||||
|
Loading…
Reference in new issue