message: Helm test is deployed as a job
  this allows it to be identified in alerting more easily
diff: {{- if .Values.helm_test_enabled }}
  -apiVersion: v1
  -kind: Pod
  +
  +apiVersion: batch/v1
  +kind: Job
  metadata:
  - name: "speckle-test-deployment"
  + name: "speckle-test"
  namespace: {{ .Values.namespace }}
  annotations:
  - "helm.sh/hook": test
  + helm.sh/hook: test
  labels:
  {{ include "test.labels" . | indent 4 }}
  +spec:
  + backoffLimit: 1
  + parallelism: 1
  + completions: 1
  + template:
  spec:
  containers:
  - name: test-deployment
  @@ -33,9 +39,7 @@ spec:
  readOnlyRootFilesystem: true
  runAsNonRoot: true
  runAsUser: 20000
  -
  restartPolicy: Never
  -
  securityContext:
  runAsNonRoot: true
  runAsUser: 20000
  