ocne application template
Generates a documented template containing all the configuration options available for an application. The format of the template depends on the style of application served by the target catalog. In general, it's a set of Helm values.
ocne application template
{-c|--catalog} name
[{-i|--interactive}]
{-N|--name} name
[{-v|--version} version]
Where:
-
{-c|--catalog} name
-
The name of the catalog that contains the application. The default is
Oracle Cloud Native Environment Application Catalog
. -
{-i|--interactive}
-
Opens the application defined by the
EDITOR
environment variable and populates it with the template. -
{-N|--name} name
-
The name of the application for which to create a template.
-
{-v|--version} version
-
The version of the application for which to create a template.
Example 4-7 Display a template for an application
To display a template for an application named
prometheus
in the default catalog:
ocne application template --name prometheus
Example 4-8 Save a template for an application
To save a template for an application to a file, pipe the output to a file:
ocne application template --name prometheus > mytemplate.yaml
Example 4-9 Edit a template for an application
To save a template for an application and edit it interactively:
ocne application template --name prometheus --interactive
The template is saved to a local file using the naming convention
application_name-values.yaml
.