2023-05-10 23:07:45 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2023-08-21 14:14:53 +00:00
|
|
|
name: {{ include "iceshrimp.fullname" . }}
|
2023-05-10 23:07:45 +00:00
|
|
|
labels:
|
2023-08-21 14:14:53 +00:00
|
|
|
{{- include "iceshrimp.labels" . | nindent 4 }}
|
2023-05-10 23:07:45 +00:00
|
|
|
spec:
|
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
ports:
|
|
|
|
- port: {{ .Values.service.port }}
|
|
|
|
targetPort: http
|
|
|
|
protocol: TCP
|
|
|
|
name: http
|
|
|
|
selector:
|
2023-08-21 14:14:53 +00:00
|
|
|
{{- include "iceshrimp.selectorLabels" . | nindent 4 }}
|