| 123456789101112131415 |
- apiVersion: v1
- kind: Pod
- metadata:
- name: "{{ .Release.Name }}-cactus-deployment-test"
- annotations:
- "helm.sh/hook": test
- spec:
- hostNetwork: true
- restartPolicy: Never
- containers:
- - name: {{ .Release.Name }}-cactus-deployment-test
- image: busybox
- # Note: Adding sleep 15, as even when cactus pod status is ready, I've seen API
- # taking a few seconds to be live and running.
- command: ['sh', '-c', 'sleep 30 && nc -vz {{ .Values.nodeIP }} {{ .Values.cactus.apiPort }}']
|