mirror of
https://example.com
synced 2024-11-23 19:36:38 +09:00
15 lines
361 B
YAML
15 lines
361 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "calckey.fullname" . }}
|
|
labels:
|
|
{{- include "calckey.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "calckey.selectorLabels" . | nindent 4 }}
|