apiVersion: v1
kind: Pod
metadata:
  name: "{{ .Release.Name }}-smoke-test"
  annotations:
    "helm.sh/hook": test
spec:
  containers:
  - name: hook1-container
    image: curlimages/curl
    imagePullPolicy: IfNotPresent
    command: ['sh', '-c', 'curl http://{{ template "beszel.fullname" . }}-web:8090/']
  restartPolicy: Never
  terminationGracePeriodSeconds: 0