mirror of
https://github.com/truenas/charts.git
synced 2026-05-11 19:16:17 +08:00
Add deployment test for ix-chart
This commit is contained in:
17
test/ix-chart/2010.0.2/templates/tests/deployment-check.yaml
Normal file
17
test/ix-chart/2010.0.2/templates/tests/deployment-check.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}-deployment-test"
|
||||
annotations:
|
||||
"helm.sh/hook": test
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ .Release.Name }}-deployment-test
|
||||
image: "busybox"
|
||||
command:
|
||||
- nc
|
||||
args:
|
||||
- "-vz"
|
||||
- "{{ .Release.Name }}-ix-chart"
|
||||
- "80"
|
||||
restartPolicy: Never
|
||||
Reference in New Issue
Block a user