Getting this error kindly give the solution and kindly see the attached screenshot[error][1]
Asked
Active
Viewed 111 times
-1
-
1can you share your yaml? I think there are some indentation issue with yaml – hoque Jun 19 '20 at 14:19
-
1Add error logs instead of screenshot – Arghya Sadhu Jun 19 '20 at 14:29
-
If you could please attach the yaml file along with the error, it's an inappropriate question with invalid details. – redzack Jun 20 '20 at 19:22
1 Answers
1
This means kubernetes is expecting value of an attribute in the yaml to be set to a map object. Your yaml currently has the value set to a string.
A map object will be something like below for the labels attribute.
"metadata": {
"labels": {
"key1" : "value1",
"key2" : "value2"
}
}
Please have a look here for expected attribute types: https://cloud.google.com/run/docs/reference/rpc/k8s.io.apimachinery.pkg.apis.meta.v1#k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta

Sridhar Voorakkara
- 304
- 1
- 9