Skip to main content
Version 3.0

The cluster follows Git,
the kit does the rest.

The platform installed through GitOps: a repository of your own, derived from the Tecnisys kit, describes each component as an Argo CD Application. The deploy.sh script prepares the cluster and renders the manifests, and Argo CD keeps the cluster equal to what is in Git.

CompatibilityKubernetes1.32+OpenShift4.19+Rancher2.10.x+Helm3.2.0+

Installing TDP with Argo CD means cloning the GitOps kit into a repository of your own, filling in a variables file, running deploy.sh to prepare the cluster and render the components, and publishing the result to Git: from then on, Argo CD installs each component from the Tecnisys registry and undoes any change made outside the repository.

Your environment

If you fill in your environment details here, examples and commands on the page use what you entered. The fields are the values you will write to variables.env.local (TDP_NAMESPACE, ARGOCD_NAMESPACE, GIT_REPO_URL, TDP_DOMAIN, GIT_REPO_USER, TECNISYS_HELM_REGISTRY_USER, and HELM_CHART_VERSION), plus the Application and pod names used in troubleshooting. Tokens and passwords do not go here.

Before you start

Check the prerequisites and have at hand kubectl configured for the cluster, envsubst (gettext package), git, and helm. To install the components manually, without GitOps, use the installation via Helm.

Scenarios​

Clone the kit into a repository of your own and fill in the environment variables file.

You are going to install TDP through GitOps and do not yet have the repository that Argo CD will watch. The starting point is the public kit Tecnisys-OSS/tdp-k8s-gitops, kept in sync with each TDP release. In it, each component is an Argo CD Application (the resource that tells Argo CD which chart to download from the Tecnisys OCI registry1 and with which values to install it), and a root Application, the App of Apps, creates all the others from what is published in Git. This repository must be yours: the kit is overwritten on every release.

Templates

available/ and common/ hold the manifests with variables (${VAR}); they are never applied directly.

Rendered

current/ receives the ready manifests, generated by deploy.sh. It is committed and watched by the App of Apps, except for the Secrets in current/common/, which stay out of Git.

Artifact origin

Charts and images come exclusively from registry.tecnisys.com.br: community/* is public and tdp/* requires the tdp-registry pull secret, created by deploy.sh.

tdp-gitops/
├── common/ # Bootstrap resources (AppProject, Secrets, App of Apps)
│ ├── argo-gitops-appproject.yaml
│ ├── argo-gitops-app-of-apps.yaml
│ ├── tdp-devops-repo-secret.yaml
│ ├── tdp-registry-secret.yaml
│ └── tdp-image-pull-secret.yaml
├── available/ # Application templates, one folder per component
│ ├── tdp-airflow/
│ │ ├── tdp-airflow.yaml # the Argo CD Application
│ │ ├── values.yaml # chart defaults
│ │ ├── values-gitops.yaml # GitOps overlay (optional)
│ │ ├── values-integration.yaml # integration with other components (optional)
│ │ └── values-ozone-security.yaml # Ozone security (only with TDP_OZONE_SECURITY=true)
│ ├── tdp-clickhouse/
│ ├── ...
│ └── tdp-trino/
├── current/ # Manifests rendered by deploy.sh, committed
│ # to git, except current/common/*-secret.yaml
├── variables.env # Reference variables (do not edit;
│ # copy to variables.env.local)
├── deploy.sh # Rendering and deploy script
├── enable-ozone-security.sh # Turns on Ozone security
└── README.md

Clone the kit and point it to your repository

A repository under your control, with the kit content on the main branch.

Terminal input
# Get the kit
git clone https://github.com/Tecnisys-OSS/tdp-k8s-gitops.git my-tdp-gitops
cd my-tdp-gitops

# Point it to your own, empty repository, and publish
git remote set-url origin <GITOPS_REPO_URL>
git push -u origin main

The App of Apps follows the main branch.

It worked when

The git clone ends without error and creates the my-tdp-gitops folder.
Cloning into 'my-tdp-gitops'...
Never point Argo CD to the distribution repository

The Tecnisys-OSS/tdp-k8s-gitops repository is the kit's distribution source and is overwritten on every TDP release. If your environment's Argo CD watches it directly, all of your configuration is destroyed on the next release sync. Always clone the kit and point GIT_REPO_URL to a repository of your own.

Fill in the variables file

A variables.env.local with the namespaces, repository, credentials, domain, license, and passwords of your environment.

Terminal input
cp variables.env variables.env.local
vim variables.env.local

The file is read by bash with source: put single quotes around any value that contains $, such as the Harbor robot accounts (TECNISYS_HELM_REGISTRY_USER='robot$tdp+pull').

variables.env.local
# --- Namespaces and project ---
# Namespace where Argo CD is installed (and where the App of Apps lives)
ARGOCD_NAMESPACE=<ARGOCD_NAMESPACE>

# Namespace where the components' pods run (and the tdp-registry pull secret)
TDP_NAMESPACE=<NAMESPACE>

# Namespace where the components' Applications are created
TDP_PROJECT_NAMESPACE=<NAMESPACE>

# Name of the "App of Apps" Application
TDP_APPLICATIONS=argo-gitops-tdp

# --- Git repository watched by Argo CD (YOURS, created in step 1) ---
GIT_REPO_URL=<GITOPS_REPO_URL>
GIT_REPO_USER=<GIT_USERNAME>
GIT_REPO_TOKEN_OR_PASS=<GIT_TOKEN>

# --- Charts origin ---
HELM_CHART_REPO_URL=registry.tecnisys.com.br/tdp/charts
HELM_CHART_VERSION=<TDP_K8S_RELEASE>

# --- Target cluster (use the default for in-cluster) ---
KUBERNETES_SERVER=https://kubernetes.default.svc

# --- Registry credentials ---
# Used for the charts (Argo CD repository secret) and for the images
# (tdp-registry pull secret, created by deploy.sh in TDP_NAMESPACE)
TECNISYS_HELM_REGISTRY_USER=<REGISTRY_USERNAME>
TECNISYS_HELM_REGISTRY_TOKEN=<REGISTRY_CLI_SECRET>

# --- Domain, classes, and exposure ---
# Domain of the Ingress/Gateway API hosts: <APPLICATION_NAME>.${TDP_DOMAIN}
# (default: tdp.local; the -d flag overrides it)
TDP_DOMAIN=<CLUSTER_DOMAIN>

# IngressClass and StorageClass written to every values-gitops.yaml
# (empty = chart default and the cluster's default class)
TDP_INGRESS_CLASS=
TDP_STORAGE_CLASS=

# How components with a web endpoint are exposed:
# ingress, gatewayapi, or none (default; the -e flag overrides it)
TDP_EXPOSE=none

# With gatewayapi: the existing Gateway the HTTPRoutes attach to (required)
TDP_GATEWAY_NAME=
TDP_GATEWAY_NAMESPACE=

# --- OpenMetadata metadata database ---
# mysql (bundled, default) or postgresql (this kit's tdp-postgresql component,
# release tdp-postgresql in TDP_NAMESPACE; deploy it first).
# Sets global.TDP-Settings.database in the component's values-gitops.yaml
TDP_OPENMETADATA_DATABASE=mysql

# --- Platform license (files provided by Tecnisys) ---
TDP_LICENSE_PUBLIC_KEYS_FILE=license/keys.json
TDP_LICENSE_FILE=license/lease.json
TDP_LICENSE_NAMESPACE=tdp-system
TDP_LICENSE_POLICY_NAMESPACES=

# --- Interface and database passwords ---
TDP_DEFAULT_PASSWORD='<DEFAULT_PASSWORD>'
TDP_SUPERSET_SECRET_KEY=

# --- Ozone security ---
# Kerberos (Ozone's internal KDC) and real S3 authentication on the Ozone S3 Gateway.
# Off by default. Turn it on with enable-ozone-security.sh, which sets
# TDP_OZONE_SECURITY=true and renders each component's
# values-ozone-security.yaml. Once on, it cannot be turned off.
TDP_OZONE_SECURITY=false
# KDC master password, used only once to create the KDC database.
# Empty: keeps the one already rendered in current/, or generates one.
TDP_OZONE_KDC_MASTER_PASSWORD=
VariableWhat it is for
ARGOCD_NAMESPACENamespace where Argo CD is installed (and where the App of Apps lives)
TDP_NAMESPACENamespace where the components' pods run and where the tdp-registry pull secret lives
TDP_PROJECT_NAMESPACENamespace where the components' Applications are created
TDP_APPLICATIONSName of the App of Apps Application
GIT_REPO_URL, GIT_REPO_USER, GIT_REPO_TOKEN_OR_PASSThe repository Argo CD watches: yours, created in step 1
HELM_CHART_REPO_URL, HELM_CHART_VERSIONWhere the charts come from and at which version. Use the current release version: 3.0.3
KUBERNETES_SERVERTarget cluster (in-cluster by default)
TECNISYS_HELM_REGISTRY_USER, TECNISYS_HELM_REGISTRY_TOKENDownload of the charts (Argo CD) and the images (tdp-registry secret)
TDP_DOMAINDomain of the Ingress/Gateway API hosts (airflow.<CLUSTER_DOMAIN>, …). Default tdp.local. The -d flag overrides it
TDP_INGRESS_CLASS, TDP_STORAGE_CLASSWritten to every values-gitops.yaml. Empty = chart default and the cluster's default class
TDP_EXPOSEHow components with a web endpoint are exposed: ingress, gatewayapi, or none (default). The -e flag overrides it
TDP_GATEWAY_NAME, TDP_GATEWAY_NAMESPACEWith gatewayapi: the existing Gateway the HTTPRoutes attach to (required)
TDP_OPENMETADATA_DATABASEOpenMetadata metadata database: mysql (bundled, default) or postgresql (the kit's tdp-postgresql, release tdp-postgresql in TDP_NAMESPACE; deploy it first). Sets global.TDP-Settings.database in the component's values-gitops.yaml
TDP_LICENSE_PUBLIC_KEYS_FILE, TDP_LICENSE_FILEThe two license files Tecnisys sends by email, public keys (keys.json) and license (lease.json), at a path relative to the variables file. Defaults: license/keys.json and license/lease.json. The license/ directory is in .gitignore
TDP_LICENSE_NAMESPACELicense namespace. Default tdp-system
TDP_LICENSE_POLICY_NAMESPACESNamespaces where the TDP components run, comma-separated. Empty = the TDP_NAMESPACE
TDP_DEFAULT_PASSWORDPassword used for every TDP_*_PASSWORD variable left blank. In the variables.env distributed with the kit, ChangeMe!T3c, which is for testing only
TDP_<COMPONENT>_..._PASSWORDAdministrative logins of the interfaces (Airflow, CloudBeaver, Jupyter, Kafka UI, Ranger, Superset) and database users
TDP_SUPERSET_SECRET_KEYSuperset SECRET_KEY: signs sessions and encrypts the connection passwords Superset stores
TDP_OZONE_SECURITYOzone security (Kerberos and real S3 authentication). Default false. Set by enable-ozone-security.sh: Ozone security
TDP_OZONE_KDC_MASTER_PASSWORDOzone KDC master password, used only once to create the KDC database. Empty: deploy.sh keeps the one already in current/tdp-ozone/ or generates one
Password requirements

The passwords are checked by deploy.sh when it renders each component: at least 8 characters from A-Z a-z 0-9 ! . _ ~ -. They only reach the components' files and take effect when the user is first created: changing one later does not change the password of an existing user, and the existing current/<APPLICATION_NAME>/values*.yaml files are only rendered again with --force. A shared credential uses a single variable on both sides: for example, TDP_CLICKHOUSE_TRINO_PASSWORD defines the ClickHouse trino user and the Trino clickhouse catalog. The OpenMetadata administrator (admin@open-metadata.org, temporary password ChangeMe!T3c, change it on first access) is created by OpenMetadata itself and is not covered by these variables.

Argo CD namespaces in each path

In the kit's examples, Argo CD and the license live in tdp-system (ARGOCD_NAMESPACE and TDP_LICENSE_NAMESPACE) and the components in tdp (TDP_NAMESPACE and TDP_PROJECT_NAMESPACE). When installing tdp-argo directly through Helm, the examples use the argocd namespace: Argo CD Configuration. Both work: in this page's commands, <ARGOCD_NAMESPACE> is the namespace set in ARGOCD_NAMESPACE.

From 3.0.2 on, the kit installs the license and receives the passwords through variables.

It worked when

variables.env.local exists next to variables.env, with GIT_REPO_URL pointing to your repository, the registry credentials filled in, and HELM_CHART_VERSION at the current release.
warning

variables.env.local is in .gitignore: never commit tokens or passwords. The variables.env file is only the reference distributed with the kit. Do not edit it.

deploy.sh reference​

Terminal input
./deploy.sh [OPÇÕES] [COMPONENTES... | --all-components]
FlagDescription
--installFirst installation: helm login → tdp-crds → license (waits until VALID) → tdp-argo (exposed at argo.${TDP_DOMAIN}, according to TDP_EXPOSE) → waits for ready → renders → applies common
--licenseInstall or renew only the license: tdp-crds (if missing) → license. Waits until VALID and exits
-v FILEUse a custom variables file (default: variables.env)
-pOnly render to current/ (without applying)
-cApply only the common resources (current/common/) through kubectl
-aApply only the Applications of the selected components through kubectl (does not apply common)
--all-componentsSelect all components in available/ (instead of naming them)
-d DOMAINDomain of the Ingress/Gateway API hosts. Overrides TDP_DOMAIN
-e MODEExposure: ingress, gatewayapi, or none. Overrides TDP_EXPOSE
-f, --forceOverwrite the existing current/<APPLICATION_NAME>/values*.yaml and replace an existing tdp-registry pull secret
-hShow help
  • With no arguments, it shows the help.
  • Without components, it renders (and, without -p, applies) only current/common/.
  • Without -p, -c, or -a, deploy.sh applies the common resources plus the Applications of the selected components.
Terminal input
# Full first installation (installs Argo CD + bootstrap)
./deploy.sh --install -v variables.env.local

# Render components and publish (GitOps mode)
./deploy.sh -p -v variables.env.local tdp-ozone tdp-trino
git add current/ && git commit -m "chore: render" && git push

# Render all components, with hosts such as airflow.<CLUSTER_DOMAIN>
./deploy.sh -p -v variables.env.local -d <CLUSTER_DOMAIN> --all-components

# Switch an already rendered component to Ingress (--force rewrites the values)
./deploy.sh -p -v variables.env.local -e ingress --force tdp-trino

# Turn on Ozone security (Kerberos + real S3 authentication) and then publish
./enable-ozone-security.sh -v variables.env.local

# Reapply only the common resources (AppProject, Secrets, App of Apps)
./deploy.sh -c -v variables.env.local

# Direct deploy of one, several, or all components
./deploy.sh -a -v variables.env.local tdp-trino
./deploy.sh -a -v variables.env.local tdp-ozone tdp-trino
./deploy.sh -a -v variables.env.local --all-components

Argo CD compatibility​

How the TDP charts run under Argo CD:

  • Charts in OCI, values in git: each Application combines the chart from the OCI registry with the values files from your git repository (referenced as $values).
  • tdp-postgresql Secrets: in its Application, changes to the .data of Secrets do not count as a difference (ignoreDifferences with RespectIgnoreDifferences=true).
  • Separate namespace: Applications in TDP_PROJECT_NAMESPACE.
  • tdp-license, tdp-operator: set skipCrdCheck=true on these two charts when deployed through Argo CD (in tdp-operator, the CRD pre-install check uses lookup, which always returns empty under Argo CD)

Security​

  • The registry and git Secrets are templates in common/: deploy.sh renders them into current/common/*-secret.yaml, which stay out of the App of Apps and are applied only by deploy.sh.
  • variables.env.local, the Secrets rendered in current/common/*-secret.yaml, and the license files in license/ are in .gitignore: never commit tokens or passwords.
  • The components' passwords default to the value of TDP_DEFAULT_PASSWORD (ChangeMe!T3c in the distributed variables.env), and deploy.sh warns while any of them remains at that default. Set them before any real environment. The rendered current/<APPLICATION_NAME>/values*.yaml files store these passwords in plain text and are versioned: keep the GitOps repository private.
  • values-integration.yaml points to the Ozone S3 Gateway with security off: the S3 keys there are not real credentials, and any client reads and writes. Enable Ozone security for any use beyond a demonstration.
  • Use a pull-only robot account for the registry and rotate the git and registry tokens regularly.
  • TDP_PROJECT_NAMESPACE must have restricted RBAC: the Applications there can deploy anywhere the AppProject allows.

Next steps​

Footnotes​

  1. OCI (Open Container Initiative) is the standard for storing not only container images but also Helm packages. For this reason, when registering the registry, you must check the Enable OCI option: without it, Argo CD tries to treat the address as a conventional Helm repository based on index.yaml and the connection fails. ↩