generated from kedaya_haitao/template
All checks were successful
Build image / build (push) Successful in 1m3s
- 新增build-chart.sh脚本用于自动化打包和推送Helm Chart - 支持自动获取最新生成的包名 - 支持推送至OCI仓库 - 自动清理生成的包文件
16 lines
355 B
YAML
16 lines
355 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "chart.fullname" . }}
|
|
labels:
|
|
{{- include "chart.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "chart.selectorLabels" . | nindent 4 }}
|