Run Job fails with null object


#1

I did see that one other person posted this same issue several months ago with no-reply/help. I am hoping that a fresh topic will generate response/help.

I am trying to create a ‘Run Job’ stage in a pipeline but upon execution I am getting the error:

Exception ( Run Job )
Cannot get property ‘imageDescription’ on null object

The stage JSON is included …

{
“account”: “cicd-sandbox”,
“annotations”: {},
“application”: “dataplane”,
“cloudProvider”: “kubernetes”,
“cloudProviderType”: “kubernetes”,
“cluster”: {
“application”: “dataplane”,
“capacity”: {
“desired”: 1,
“max”: 1,
“min”: 1
},
“env”: {},
“resources”: {
“cpu”: 1,
“disk”: 10000,
“gpu”: 0,
“memory”: 512,
“networkMbps”: 128
},
“retries”: 0,
“runtimeLimitSecs”: 3600,
“securityGroups”:
},
“containers”: [
{
“args”: ,
“command”: ,
“envFrom”: ,
“envVars”: ,
“imageDescription”: {
“account”: “my-docker-registry”,
“imageId”: “docker-registry.aeg.cloud/spinpok/image-status-0:latest”,
“registry”: “docker-registry.aeg.cloud”,
“repository”: “spinpok/image-status-0”,
“tag”: “latest”
},
“imagePullPolicy”: “IFNOTPRESENT”,
“limits”: {},
“name”: “spinpok-image-status-0”,
“ports”: [
{
“containerPort”: 80,
“name”: “http”,
“protocol”: “TCP”
}
],
“requests”: {},
“volumeMounts”:
}
],
“deferredInitialization”: true,
“dnsPolicy”: “ClusterFirst”,
“labels”: {},
“name”: “RunJob”,
“namespace”: “spinnaker”,
“nodeSelector”: {},
“type”: “runJob”,
“waitForCompletion”: true
}


#2

Sill banging my head against the wall … anyone have any ideas ?