You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
390 B
17 lines
390 B
3 years ago
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ include "site.fullname" . }}
|
||
|
namespace: {{ $.Values.namespace }}
|
||
|
labels:
|
||
|
{{- include "site.labels" . | nindent 4 }}
|
||
|
spec:
|
||
|
type: {{ .Values.service.type }}
|
||
|
ports:
|
||
|
- port: {{ .Values.service.port }}
|
||
|
targetPort: http
|
||
|
protocol: TCP
|
||
|
name: http
|
||
|
selector:
|
||
|
{{- include "site.selectorLabels" . | nindent 4 }}
|