This commit is contained in:
marsal wang
2021-12-24 14:03:48 +08:00
parent f98054bb67
commit 1d913427ac
12 changed files with 641 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{{- if .Values.service.enabled -}}
apiVersion: v1
kind: Service
metadata:
name: {{ include "xxl-job-admin.fullname" . }}
namespace: {{ .Values.namespace }}
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:
app: {{ include "xxl-job-admin.fullname" . }}
{{- end -}}