Upgrade the TimesTen Operator
You can upgrade the TimesTen Operator to a new release. You can perform the upgrade while there are TimesTenClassic or TimesTenScaleout objects deployed in your namespace.
To upgrade the TimesTen Operator in your namespace, use the ttoperator chart from the new release.
This example upgrades from TimesTen release 22.1.1.19.0 to 22.1.1.20.0. For more information about TimesTen releases, see Overview of release numbers in the Oracle TimesTen In-Memory Database Installation, Migration, and Upgrade Guide.
Let's assume you previously created the new_kube_files directory and unpacked the new release of the TimesTen Operator distribution into this directory.
ttoperator chart contains all the information necessary to upgrade the TimeTen Operator in your namespace. The chart contains a default configuration for deploying a new release of the TimesTen Operator. In addition, if the default container image is not the image you want to upgrade to, you can modify the ttoperator's chart default image variable to reference your new container image. For example, if the default container image for the new release is container-registry.oracle.com/timesten/timesten/22.1.1.20.0 and instead you want to use your newly built phx.ocir.io/youraccount/tt2211200image:2 container image, you modify the image variable as follows:image:
repository: phx.ocir.io/youraccount/tt2211200image
tag: "2"Let's walk through an example illustrating how to upgrade the TimesTen Operator to a new release. In the example, let's assume you want to use your phx.ocir.io/youraccount/tt2211200image:2 container image.
The example uses a customized YAML file to define the container image that contains the new release. Let's assume you have previously created a new_kube_files/helm/customyaml directory for your customized YAML files.
ttoperator chart. The TimesTen Operator that is running in your namespace is using the new image.