Updating an Application

Use the ocne application update command to update an installed application. The syntax is:

ocne application update 
{-b|--built-in-catalog}
[{-c|--catalog} name]
[{-n|--namespace} namespace] 
{-r|--release} name 
[--reset-values]
[{-u|--values} URI]
[{-v|--version} version] 

For more information on the syntax options, see Oracle Cloud Native Environment: CLI.

Examples:

To update an application with extra configuration information, use a values configuration file. For example, to update the prometheus application to include the Prometheus node-exporter:

ocne application update --release prometheus --namespace prometheus --values - << EOF
serviceAccounts:
  nodeExporter:
    create: true
    name:
    annotations: {}
nodeExporter:
  enabled: true
  image:
    repository: container-registry.oracle.com/verrazzano/node-exporter
    tag: v1.3.1
    pullPolicy: IfNotPresent
EOF
  1. In the navigation menu, select Apps.

    The Apps section expands to display further options in the navigation menu.

  2. Select Installed.

    The Installed page is displayed with a table listing the installed applications.

  3. Go to the row for the application to be updated and select the link in the Name column.

    A more detailed page of release history is displayed for that application.

  4. Select Upgrade.

    A dialog box appears with the following fields:
    • Release Description

      Enter a description for the release.

    • Versions

      Select a version from the list.

  5. Select Upgrade.

    The dialog is dismissed, and on-screen messages are displayed to confirm the upgrade request has been successfully submitted and completed.

    The page with the application release history now includes the completed upgrade listed with the release description you entered in an earlier step.