article/build/chart/templates/tests/test-connection.yaml
zhanghaogang 26c57a92b2
All checks were successful
Build image / build (push) Successful in 1m3s
chore: 添加Helm Chart打包和推送脚本
- 新增build-chart.sh脚本用于自动化打包和推送Helm Chart

- 支持自动获取最新生成的包名

- 支持推送至OCI仓库

- 自动清理生成的包文件
2025-03-13 16:12:34 +08:00

16 lines
373 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "chart.fullname" . }}-test-connection"
labels:
{{- include "chart.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "chart.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never