1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/osdk-cli-ref-run-bundle-upgrade.adoc
2023-10-30 10:13:25 -04:00

37 lines
1.3 KiB
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/osdk/cli-osdk-ref.adoc
// * operators/operator_sdk/osdk-cli-ref.adoc
:_mod-docs-content-type: REFERENCE
[id="osdk-cli-ref-run-bundle-upgrade_{context}"]
= bundle-upgrade
The `run bundle-upgrade` subcommand upgrades an Operator that was previously installed in the bundle format with Operator Lifecycle Manager (OLM).
.`run bundle-upgrade` flags
[options="header",cols="1,3"]
|===
|Flag |Description
|`--timeout <duration>`
|Upgrade timeout. The default value is `2m0s`.
|`--kubeconfig` (string)
|Path to the `kubeconfig` file to use for CLI requests.
|`-n`, `--namespace` (string)
|If present, namespace in which to run the CLI request.
|`--security-context-config <security_context>`
|Specifies the security context to use for the catalog pod. Allowed values include `restricted` and `legacy`. The default value is `legacy`. ^[1]^
|`-h`, `--help`
|Help output for the `run bundle` subcommand.
|===
[.small]
--
1. The `restricted` security context is not compatible with the `default` namespace. To configure your Operator's pod security admission in your production environment, see "Complying with pod security admission". For more information about pod security admission, see "Understanding and managing pod security admission".
--