I have this Kubernetes Job instance:
apiVersion: batch/v1
kind: Job
metadata:
name: job
spec:
template:
spec:
containers:
name: job
image: 172.30.34.145:5000/myproj/app:latest
command: ["/bin/sh", "-c", "$(COMMAND)"]
serviceAccount: default
serviceAccountName: default
restartPolicy: Never
How can I write the image name so it always pull from within my own namespace.
I'd like to set it like this:
image: app:latest
But it fails saying it's unable to pull the image