> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jedify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 3. The operator

> Install the Jedify operator, handing it what OpenTofu made.

The operator installs and upgrades everything else, so it runs with cluster-admin, as Helm or Argo CD would. Its chart takes two values files: the release's own, and the one OpenTofu writes for your install.

## Write OpenTofu's values

```sh theme={null}
tofu -chdir=terraform output -raw operator_values > cloud-values.yaml
```

It holds what only your cloud knows: the project, the service accounts, the Secret Manager names, the database and cache addresses, the buckets, and the nodes' architecture. Nothing in it is a secret. The operator merges it under your Jedify resource, so you never copy any of it into the resource.

## Sign Helm in to Jedify's registry

Helm pulls the operator's chart from Jedify's registry as you, with the account Jedify granted read access ([Images](https://docs.jedify.com/self-hosted/gcp/install/images.md)):

```sh theme={null}
gcloud auth print-access-token | helm registry login "${RELEASE_REGISTRY%%/*}" \
  -u oauth2accesstoken --password-stdin
```

The token lasts an hour. Sign in again before a later Helm command.

## Install the chart

```sh theme={null}
helm upgrade --install jedify-operator \
  oci://$RELEASE_REGISTRY/charts/jedify-operator \
  --version <version> --namespace jedify --create-namespace \
  -f values/jedify-operator.yaml -f cloud-values.yaml
```

If you copied the images, add `-f registry-values.yaml`. Keep the chart's address as it is: `mirror-release.sh` copies the images, not the charts, so the chart always comes from Jedify's registry.

## Check it

```sh theme={null}
kubectl -n jedify rollout status deploy/jedify-operator
```

Expected: `deployment "jedify-operator" successfully rolled out`. The operator now waits for a Jedify resource; it installs nothing until you apply one.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.