Is it posible to edit job manifest and add envs fr...
# ask-community
s
Is it posible to edit job manifest and add envs from config map and secrets? If I need additional fields to the template it fails the validation, which is defined: https://github.com/PrefectHQ/prefect/blob/0c6a1d270d6ebe0af3fd0e336486ffe6186a0f42[…]/src/integrations/prefect-kubernetes/prefect_kubernetes/jobs.py
Copy code
"job_manifest": {
            "kind": "Job",
            "spec": {
                "template": {
                    "spec": {
                        "containers": [
                            {
                                "env": "{{ env }}",
                                "args": "{{ command }}",
                                "name": "prefect-job",
                                "image": "{{ image }}",
                                "imagePullPolicy": "{{ image_pull_policy }}"
                            }
                        ],