OpenShift Template Definition: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
m (Ovidiu moved page Template Definition to OpenShift Template Definition without leaving a redirect)
(No difference)

Revision as of 19:07, 23 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": [  
    {
      ...
    }
  ]
}