OpenShift Template Definition: Difference between revisions
Jump to navigation
Jump to search
m (Ovidiu moved page Template Definition to OpenShift Template Definition without leaving a redirect) |
|||
Line 40: | Line 40: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=Notes= | |||
==Labels== | |||
The labels listed under the template "labels" section will be applied to all objects created by the template, so they can prove useful to back it out, if necessary. |
Revision as of 03:54, 25 November 2017
External
Internal
Example
{
"kind": "Template",
"apiVersion": "v1",
"metadata": {
"name": "some-application",
"creationTimestamp": null,
"annotations": {
"description": "Example",
"iconClass": "icon-example",
"tags": "example,mysql"
}
},
"parameters": [
{
"name": "username"
"value": "admin"
"description": "administrative user"
}
],
"labels": {
"custom_label": "Label_Name"
},
"objects": [
{
...
}
]
}
Notes
Labels
The labels listed under the template "labels" section will be applied to all objects created by the template, so they can prove useful to back it out, if necessary.