This commit is contained in:
marsal wang
2023-07-26 10:07:34 +08:00
parent f884cb1020
commit 1e5a703cce
5384 changed files with 618283 additions and 4002 deletions

View File

@ -0,0 +1,18 @@
{{- if .Values.service.enabled -}}
apiVersion: v1
kind: Service
metadata:
name: {{ include "xxl-job-admin.fullname" . }}
labels:
{{- include "xxl-job-admin.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.content.type }}
ports:
- port: {{ .Values.service.content.port }}
targetPort: {{ .Values.service.content.targetPort }}
nodePort: {{ .Values.service.content.nodePort }}
protocol: TCP
name: http
selector:
{{- include "xxl-job-admin.selectorLabels" . | nindent 4 }}
{{- end -}}