mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-12-21 06:51:19 +08:00
19 lines
499 B
YAML
19 lines
499 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "hangar.fullname" . }}-frontend
|
|
labels:
|
|
{{- include "hangar.labels" . | nindent 4 }}
|
|
annotations:
|
|
service.kubernetes.io/topology-aware-hints: "auto"
|
|
spec:
|
|
type: {{ .Values.frontend.service.type }}
|
|
ports:
|
|
- port: {{ .Values.frontend.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "hangar.selectorLabels" . | nindent 4 }}
|
|
app.kubernetes.io/component: "frontend"
|