When the template.apiVersion is missing, the runtime.Object parser
can't figure out the Template object properly and thus the
TemplateProcessor produces a Config with null items.
Bug 1146024 - https://bugzilla.redhat.com/show_bug.cgi?id=1146024
| ... | ... |
@@ -1,6 +1,7 @@ |
| 1 | 1 |
{
|
| 2 |
- "kind": "Template", |
|
| 3 | 2 |
"id": "example1", |
| 3 |
+ "kind": "Template", |
|
| 4 |
+ "apiVersion": "v1beta1", |
|
| 4 | 5 |
"name": "My awesome PHP app", |
| 5 | 6 |
"description": "Example PHP application with PostgreSQL database", |
| 6 | 7 |
"parameters": [ |
| ... | ... |
@@ -136,4 +137,4 @@ |
| 136 | 136 |
} |
| 137 | 137 |
} |
| 138 | 138 |
] |
| 139 |
-} |
|
| 140 | 139 |
\ No newline at end of file |
| 140 |
+} |