Add Helm Chart Deploy

This commit is contained in:
wenyang0 2024-11-20 13:18:30 +08:00
parent 0b1b98f93e
commit 594e801fdf
12 changed files with 435 additions and 0 deletions

View file

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