Skip to content

Latest commit

 

History

History
 
 

copy-template

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Copy okd template Task

Task is deprecated and will be removed in future versions.

This task copies a template. A bundle of predefined templates to use can be found in Common Templates project.

Service Account

This task should be run with copy-template-task serviceAccount. Please see RBAC permissions for running the tasks for more details.

Parameters

  • sourceTemplateName: Name of an OpenShift template to copy template from.
  • sourceTemplateNamespace: Namespace of an source OpenShift template to copy template from. (defaults to active namespace)
  • targetTemplateName: Name of an target OpenShift template.
  • targetTemplateNamespace: Namespace of an target OpenShift template to create in. (defaults to active namespace)
  • allowReplace: Allow replacing already existing template (same combination name/namespace). Allowed values true/false

Results

  • name: The name of a template that was created.
  • namespace: The namespace of a template that was created.

Usage

Please see examples on how to copy a template.