扣子智能体
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
coze_studio/helm/charts/opencoze/templates/elasticsearch-service.yaml

19 lines
598 B

{{- if .Values.elasticsearch.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "opencoze.fullname" . }}-elasticsearch
labels:
{{- include "opencoze.labels" . | nindent 4 }}
spec:
type: {{ .Values.elasticsearch.service.type }}
ports:
- port: {{ .Values.elasticsearch.service.port }}
targetPort: {{ .Values.elasticsearch.service.targetPort }}
protocol: TCP
name: http
selector:
app.kubernetes.io/component: elasticsearch
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/name: {{ include "opencoze.name" . }}
{{- end }}