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>
This commit is contained in:
Jung Hong Kim
2020-07-30 07:36:29 +08:00
committed by GitHub
parent e8a11f82bc
commit 49f2410108
2 changed files with 29 additions and 8 deletions

View File

@@ -1,15 +1,23 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "wiki.fullname" . }}
labels:
{{- include "wiki.labels" . | nindent 4 }}
name: {{include "wiki.fullname" .}}
labels: {{- include "wiki.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
type: {{ .Values.service.type }}
type: {{.Values.service.type}}
ports:
- port: {{ .Values.service.port }}
- port: {{.Values.service.port}}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "wiki.selectorLabels" . | nindent 4 }}
- port: {{.Values.service.httpsPort}}
targetPort: http
protocol: TCP
name: https
selector: {{- include "wiki.selectorLabels" . | nindent 4}}