I have a python script I want to run in a kubernetes job. I have used a `configMap` to upload it to the container located for example in `dir/script.py`.

The container is run normally with the `args["load"]`. 

I have tried using a postStart lifecycle in the `Job` manifest but it appears not to run.

```
        lifecycle:
          preStop:
            exec:
              command: 
              - /bin/sh
              - -c 
              - /usr/bin/python /opt/config-init/db/tls_generator.py

```

Below is the snippet of the manifest

```
      containers:
      - name: {{ template "gluu.name" . }}-load
        image: gluufederation/config-init:4.0.0_dev
        lifecycle:
          preStop:
            exec:
              command: 
              - /bin/sh
              - -c 
              - /usr/bin/python /opt/config-init/db/tls_generator.py
        volumeMounts:
          - mountPath: /opt/config-init/db/
            name: {{ template "gluu.name" . }}-config
          - mountPath: /opt/config-init/db/generate.json
            name: {{ template "gluu.fullname" . }}-mount-gen-file
            subPath: generate.json
          - mountPath: /opt/config-init/db/tls_generator.py
            name: {{ template "gluu.fullname" . }}-tls-script
        envFrom:
        - configMapRef:
            name: {{ template "gluu.fullname" . }}-config-cm
        args: [ "load" ]

```

How can I run the `tls_generator.py` scipt after the `args["load"]`. 

The dockerFile part looks like 

```
ENTRYPOINT ["tini", "-g", "--", "/app/scripts/entrypoint.sh"]
CMD ["--help"]

```