ocne application update
Updates an application that was deployed from an application catalog.
ocne application update
{-b|--built-in-catalog}
[{-c|--catalog} name]
[{-n|--namespace} namespace]
{-r|--release} name
[--reset-values]
[{-u|--values} URI]
[{-v|--version} version]
Where:
-
{-b|--built-in-catalog}
-
Updates the built in catalog in the
ocne-system
namespace, when this was installed usingocne application install
with the--built-in-catalog
option. This option is mutually exclusive with the--catalog
option. -
{-c|--catalog} name
-
The name of the catalog that contains the application. The default is
Oracle Cloud Native Environment Application Catalog
. This option is mutually exclusive with the--built-in-catalog
option. -
{-n|--namespace} namespace
-
The Kubernetes namespace in which the application is installed. If this value isn't provided, the namespace from the current context of the
kubeconfig
is used. -
{-r|--release} name
-
The name of the release of the application.
-
--reset-values
-
Reset the values to the ones built into the chart. If the
--values
option is also used, it's treated as a new set of overrides. -
{-u|--values} URI
-
The URI of an application configuration. The format of the configuration depends on the style of application served by the target catalog. In general, it's a set of Helm values.
-
{-v|--version} version
-
The application version number. This sets the version of the application to be used when updating the application. By default, the version is the latest stable version of the application.
Example 4-11 Update an application
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