16 lines
380 B
YAML
16 lines
380 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "softplayer-web.fullname" . }}
|
|
labels:
|
|
{{- include "softplayer-web.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: 80
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "softplayer-web.selectorLabels" . | nindent 4 }}
|