Add an env to the ExtendedJob example
@@ -73,5 +73,11 @@ spec:
image: perl
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
restartPolicy: Never
+ env:
+ - name: MY_ENV
+ valueFrom:
+ configMapKeyRef:
+ name: foo-config
+ key: special.how
backoffLimit: 4
```
