This commit is contained in:
zhousha
2025-08-06 15:38:55 +08:00
parent 4916ad0fe0
commit 55a67e817e
193 changed files with 51647 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
{{- if and (hasKey .Values "service") (hasKey .Values.service "type") }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "judgeflow.fullname" . }}
labels:
{{- include "judgeflow.labels" . | nindent 4 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
{{- range .Values.service.ports }}
- port: {{ .port }}
targetPort: {{ .port }}
protocol: TCP
name: {{ .name }}
{{- end }}
selector:
{{- include "judgeflow.selectorLabels" . | nindent 4 }}
{{- end }}