mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-26 13:42:40 +00:00
21 lines
567 B
YAML
21 lines
567 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ include "opengist.fullname" . }}-http
|
||
|
labels:
|
||
|
{{- include "opengist.labels" . | nindent 4 }}
|
||
|
annotations:
|
||
|
{{- toYaml .Values.serviceHttp.annotations | nindent 4 }}
|
||
|
spec:
|
||
|
type: {{ .Values.serviceHttp.type }}
|
||
|
ports:
|
||
|
- port: {{ .Values.serviceHttp.port }}
|
||
|
targetPort: http
|
||
|
protocol: TCP
|
||
|
name: http
|
||
|
{{- if .Values.serviceHttp.nodePort }}
|
||
|
nodePort: {{ .Values.serviceHttp.nodePort }}
|
||
|
{{- end }}
|
||
|
selector:
|
||
|
{{- include "opengist.selectorLabels" . | nindent 4 }}
|