All checks were successful
Build image / build (push) Successful in 1m49s
- 新增build-chart.sh脚本用于自动化打包和推送Helm Chart - 支持自动获取最新生成的包名 - 支持推送至OCI仓库 - 自动清理生成的包文件
16 lines
373 B
YAML
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
|