apiVersion: batch/v1
kind: Job
metadata:
  namespace: {{ .Release.Namespace | quote }}
  name: {{ template "dataloader.name" . }}
spec:
  template:
    metadata:
      labels:
        app: {{ template "dataloader.name" . }}
    spec:
      containers:
      - name: gpii-dataloader
        image: "{{ .Values.image.repository }}@{{ .Values.image.checksum }}"
        command: '/app/scripts/deleteAndLoadSnapsets.sh'
        env:
        - name: COUCHDB_URL
          value: '{{ .Values.couchdb_url }}'
      restartPolicy: OnFailure

apiVersion: batch/v1
kind: Job
metadata:
  namespace: {{ .Release.Namespace | quote }}
  name: {{ template "dataloader.name" . }}
spec:
  template:
    metadata:
      labels:
        app: {{ template "dataloader.name" . }}
    spec:
      containers:
      - name: gpii-dataloader
        image: "{{ .Values.image.repository }}@{{ .Values.image.checksum }}"
        command: '/app/scripts/deleteAndLoadSnapsets.sh'
        env:
        - name: GPII_COUCHDB_URL
          value: '{{ .Values.couchdb_url }}'
      restartPolicy: OnFailure

Update variable to match current state of dataloader
GPII-3391: Update variable to match current state of dataloader
