Upgrade the TimesTen Operator

Since the stack used Helm and the Helm charts included in a TimesTen container image to deploy the TimesTen Operator, you can use the Helm charts from a newer version of the TimesTen container image to upgrade the TimesTen Operator.
To upgrade the TimesTen Operator, do the following:
  1. On your development host, go to the directory where you stored the newer version of the Helm charts, see Obtain the Helm Charts for Upgrade.
  2. Create a YAML file where you specify the TimesTen container image from Oracle Container Registry to be used by the TimesTen Operator for the upgrade.
    image:
      repository: container-registry.oracle.com/timesten/timesten
      tag: "22.1.1.36.0"

    Note:

    This example assumes that the current version of TimesTen used by the ttoper release is 22.1.1.35.0 and the version for the upgrade is 22.1.1.36.0.

  3. Upgrade the ttoper release.
    Ensure that you include the --reuse-values option, so that the values from the current ttoper release are used for the upgrade and only the values from the YAML file you just created are overridden.
    helm upgrade ttoper -n <namespace> \
      -f <upgrade-file>.yaml helm/ttoperator --reuse-values

    Output should be similar to:

    Release "ttoper" has been upgraded. Happy Helming!
    NAME: ttoper
    LAST DEPLOYED: Thu Jun  5 18:27:38 2025
    NAMESPACE: <namespace>
    STATUS: deployed
    REVISION: 2
    NOTES:
    Version 2211360.1.0 of the ttoperator chart has been installed.
    
    This release is named "ttoper".
    
    To learn more about the release, try:
    
      $ helm status ttoper
      $ helm get all ttoper
      $ helm history ttoper
      
    To rollback to a previous version of the chart, run:
    
      $ helm rollback ttoper <REVISION>
        - run 'helm history ttoper' for a list of revisions.
    
    To test the operator, run:
    
      $ helm test ttoper
  4. Test the TimesTen Operator.

    Caution:

    Ensure you wait a couple minutes for the upgrade to complete before performing the test. Otherwise, the test may fail. If this is the case, you need to delete the Pod created by the test before you are able to run the test again.

    helm test ttoper -n <namespace>

    Output should be similar to:

    NAME: ttoper
    LAST DEPLOYED: Thu Jun  5 18:41:14 2025
    NAMESPACE: <namespace>
    STATUS: deployed
    REVISION: 2
    TEST SUITE:     ttoper-ttoperator-test
    Last Started:   Thu Jun  5 18:42:44 2025
    Last Completed: Thu Jun  5 18:44:11 2025
    Phase:          Succeeded
    NOTES:
    Version 2211360.1.0 of the ttoperator chart has been installed.
    
    This release is named "ttoper".
    
    To learn more about the release, try:
    
      $ helm status ttoper
      $ helm get all ttoper
      $ helm history ttoper
      
    To rollback to a previous version of the chart, run:
    
      $ helm rollback ttoper <REVISION>
        - run 'helm history ttoper' for a list of revisions.
    
    To test the operator, run:
    
      $ helm test ttoper
    You can further verify that the TimesTen Operator is using the new version of the TimesTen container image by running the following command:
    kubectl get deployment timesten-operator -o yaml -n <namespace> | grep image:

    Output should be similar to:

      image: container-registry.oracle.com/timesten/timesten:22.1.1.36.0
You have successfully upgraded the TimesTen Operator.