mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-04 21:37:11 -04:00
Add Helm Chart Deploy
This commit is contained in:
parent
0b1b98f93e
commit
594e801fdf
12 changed files with 435 additions and 0 deletions
15
helm/templates/tests/test-connection.yaml
Normal file
15
helm/templates/tests/test-connection.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue