Install the TimesTen Operator
The ttoperator
chart contains all the information necessary to deploy the TimesTen Operator in your namespace. The chart contains a default configuration for deploying the TimesTen Operator. You have the option of customizing the chart to meet your preferred configuration. Specifically, the TimesTen Operator provides several variables whose values you can change to meet your configuration needs. For information about these variables, see The ttoperator Chart.
-
Create a YAML file that defines the variables that you want to use to configure your environment. Next, to install the chart, pass this YAML file to the
helm
install
command by specifying the-f
option. -
Specify the variables on the command line by running the
helm
install
command with the--set
option.
For more information about these options, see https://helm.sh/docs/intro/using_helm/.
The examples in the section use a YAML file.
ttoperator
chart, which deploys the TimesTen Operator. In this example, let's make the following modifications:
-
imagePullSecret
: Let's assume thatsekret
is the name of the Secret used to pull images from the repository. Therefore, let's specifysekret
for theimagePullSecret
variable. - Container image: Rather that use a container image in
container-registry.oracle.com/timesten
, let's assume you built you own container image as discussed in Option 2: Build the TimesTen Container Image. Let's assume the name of the container image you built and want to use isphx.ocir.io/youraccount/tt2211190image:1
. Based on this container image, let's modify the following variables:-
repository
: For therepository
variable, specify a value ofphx.ocir.io/youraccount/tt2211190image
. -
tag
: For thetag
variable, specify a value of1
.
-
Let's also assume you have created a kube_files/helm/customyaml
directory for your customized YAML files.
Note:
By default, the ttoperator
chart creates timesten-operator
ServiceAccount, Role, and RoleBinding Kubernetes objects. The Role and RoleBinding objects grant the timesten-operator
ServiceAccount the privileges needed to run the TimesTen Operator. See The ttoperator Chart.
ttoperator
chart. The TimesTen Operator is running in your namespace.