Skip to main content
logoTetrate Patch ServiceVersion: alpha

Agent Helm Values v0.4.0

These are the values of the patch-service-agent-helm chart from version v0.4.0 to v0.4.3. Chart v0.4.0 added the releaseCatalog values: from it on, the agent recognizes Tetrate's images from the release catalog, so no workload needs labeling and selector only ever narrows what is considered.

Each value is marked with who owns it: Yours, Set by onboarding, or Leave as is. Where to Set Values explains each, and how to change a value on your kind of install.

Changes from v0.3.1​

What changed since v0.3.1, and so since chart v0.3.2.

ValueChange
releaseCatalog.urlAdded. The agent recognizes Tetrate's images from the release catalog it fetches here, instead of from a label on each workload. The chart refuses to install with it set and an image.tag older than 0.4.0.
releaseCatalog.refreshPeriodAdded. How often the catalog is fetched again.
releaseCatalog.registryAliasesAdded. Names the registry mirror your clusters pull Tetrate images through, so they are still recognized.
releaseCatalog.extraRepositoriesAdded. Names single repositories your mirror renamed, so they are still recognized.
selectorNew meaning and New owner. It only narrows which workloads are considered; it no longer decides what is reported. Onboarding no longer sets it, so it is now Yours.
podNamespacesNew meaning. With no label to narrow on, it is what keeps the agent's watch to the namespaces Tetrate products install into, and onboarding now seeds it with them. Add a namespace if you run a Tetrate product elsewhere.

Values files from v0.3.1 and v0.3.2 install, but carry the onboarding selector of dataplane.tetrate.io=<customer-id>, which keeps the agent limited to labeled workloads. Remove selector when upgrading, as Upgrading the Agent describes. If your clusters pull Tetrate images through a mirror, add releaseCatalog.registryAliases too.

Discovery​

What the agent watches and how it recognizes Tetrate's images. These are the values you are most likely to change. Clusters and the Agent explains the model behind them.

ValueOwnerDescriptionDefault
podNamespacesYoursNamespaces the agent watches for Deployments and DaemonSets. Empty watches every namespace. Onboarding seeds it with tetrate-dataplane-system, envoy-gateway-system, and envoy-ai-gateway-system; add a namespace if you run a Tetrate product elsewhere. It narrows what the agent looks at, not its permissions.[]
selectorYoursA Kubernetes label selector, such as app.kubernetes.io/part-of=gateway. When set, the agent only considers Deployments and DaemonSets whose own labels match it. It only ever narrows: an image Tetrate does not publish is never reported, whatever the selector says. Agents before 0.4.0 required it; remove it when upgrading from one of those.""
releaseCatalog.urlYoursWhere the agent fetches the release catalog from. Point it at an internal copy of the same files if the cluster cannot reach the internet. Set it to "" to stop fetching: the agent then recognizes only what Tetrate had published when its image was built. Requires agent 0.4.0 or newer; the chart refuses to install an older image with it set.https://releases.tetrate.io/manifests
releaseCatalog.refreshPeriodYoursHow often the catalog is fetched again, as a duration such as 30m or 12h. 0 fetches it once at startup.6h
releaseCatalog.registryAliasesYoursMaps a registry the catalog names to the prefix your mirror serves it under, such as docker.io: harbor.example.com/dockerhub. One entry covers every Tetrate image on that registry. Neither side takes a trailing slash. See Discovering Images from a Private Registry.{}
releaseCatalog.extraRepositoriesYoursRepositories, without a tag, to treat as Tetrate's, for a mirror that renamed the paths so no alias applies. Each entry covers one repository.[]
resyncPeriodYoursHow often the agent reports even when nothing changed, which keeps the cluster's Last report current. 0 reports only when something changes.15m
argocdNamespaceLeave as isNamespace holding the ArgoCD Applications the agent reads to report installed managed products. Empty uses the namespace the agent is installed in, which is where every managed install puts them.""

Images matched through registryAliases or extraRepositories are reported, but not scanned for CVEs: these agents report the image as your cluster pulls it, from your mirror, which the scan cannot reach. Chart v0.4.4 scans them from the registry Tetrate publishes to.

The registry key of a registryAliases entry contains dots. In a values file write it as is; with --set, escape the dots: --set 'releaseCatalog.registryAliases.docker\.io=harbor.example.com/dockerhub'.

Connection to the Patch Service​

How the agent identifies its cluster and reaches the Patch Service. All of them are set by onboarding.

ValueOwnerDescriptionDefault
customerIdSet by onboardingYour organization's identifier. Every report is filed under it. Required when server.url is set.""
clusterNameLeave as isThe cluster's name, written into the chart. Onboarding sets clusterNameConfigMap instead, because the name is only settled when the cluster registers. One of the two is required.""
clusterNameConfigMap.nameSet by onboardingA ConfigMap in the agent's namespace to read the cluster name from. Onboarding creates patch-service-agent-config and sets this to it. Takes precedence over clusterName.""
clusterNameConfigMap.keySet by onboardingThe key in that ConfigMap holding the name.clusterName
server.urlSet by onboardingThe Patch Service API the agent reports to. Empty makes the agent log what it finds instead of reporting it, which is only useful to try the chart out.""
server.tokenUrlSet by onboardingWhere the agent obtains its access tokens.https://auth.patch.tetrate.io/oauth2/token
server.clientIdSet by onboardingThe agent's machine identity for your organization.""
server.existingSecretNameSet by onboardingA Secret holding the client secret for server.clientId. Onboarding creates patch-service-agent and sets this to it, so the secret never appears in the Helm release.""
server.existingSecretKeySet by onboardingThe key in that Secret holding the client secret.clientSecret
server.clientSecretLeave as isThe client secret given directly as a value. The chart then creates a Secret for it, and the secret is stored in the Helm release history. Use server.existingSecretName instead.""

Image​

ValueOwnerDescriptionDefault
image.repositorySet by onboardingWhere the agent image is pulled from. Onboarding sets fips-containers.teg.tetratelabs.com/patch-service-agent, which your Tetrate Hub credentials can pull. On an agent-only install, change it only if you mirror the agent image into your own registry.ghcr.io/tetrateio/patch-service-agent
image.tagSet by onboardingThe agent version. Onboarding pins it, so an upgrade has to set it: see Upgrading the Agent.the chart's version
image.pullPolicyYours, agent-onlyStandard Kubernetes image pull policy. On the managed data plane Tetrate sets it to Always.IfNotPresent
imagePullSecretsSet by onboardingSecrets used to pull the image. Onboarding sets tetrate-pull-credentials, which holds your Tetrate Hub credentials. If you mirror the agent image, add the Secret for your registry.[]

Availability and Scheduling​

Standard Kubernetes settings for the agent's Deployment.

ValueOwnerDescriptionDefault
replicaCountYoursNumber of agent replicas. Only one reports at a time; the others stand by to take over. More than one requires leaderElection: true.1
leaderElectionLeave as isCoordinates replicas through a Lease in the agent's namespace, so only one reports. Leave it enabled; the chart refuses replicaCount above 1 without it.true
resourcesYoursCPU and memory requests and limits for the agent container.{}
nodeSelectorYoursNode labels the agent's Pods must run on.{}
tolerationsYoursTolerations for the agent's Pods, to run on tainted nodes.[]
affinityYoursAffinity and anti-affinity rules for the agent's Pods.{}
podAnnotationsYoursAnnotations added to the agent's Pods.{}
podLabelsSet by onboardingLabels added to the agent's Pods. Onboarding adds dataplane.tetrate.io: <customer-id>. Add your own labels alongside it on either kind of install: they are kept, and only that one label is Tetrate's.{}
commonLabelsSet by onboardingLabels added to every resource the chart creates. Onboarding adds dataplane.tetrate.io: <customer-id>. Add your own labels alongside it on either kind of install: they are kept, and only that one label is Tetrate's.{}
envYours, agent-onlyExtra environment variables for the agent container, as standard Kubernetes EnvVar entries. Use it for LOG_LEVEL (debug, info, error, or none; default info), or for HTTPS_PROXY and SSL_CERT_FILE when the cluster reaches the internet through a proxy. On the managed data plane Tetrate sets this list, so your entries are replaced.[]

Resource Names and Service Account​

ValueOwnerDescriptionDefault
nameOverrideLeave as isThe name used in resource names and the app.kubernetes.io/name label.agent
fullnameOverrideLeave as isReplaces the full resource name prefix. The onboarding flows find the agent by its resource names, so changing either name makes the Patch Service treat the agent as one it did not install.""
serviceAccount.createLeave as isCreates the agent's service account.true
serviceAccount.nameLeave as isThe service account's name. Empty derives it from the release.""
serviceAccount.annotationsYoursAnnotations on the service account.{}

Values the Chart Rejects​

The chart fails the install, with a message naming the problem, instead of installing an agent that cannot work:

  • Neither clusterName nor clusterNameConfigMap.name is set.
  • server.url is set without customerId, server.tokenUrl, server.clientId, or a client secret through server.existingSecretName or server.clientSecret.
  • replicaCount is above 1 with leaderElection: false.
  • releaseCatalog.url is set and image.tag is older than 0.4.0.

A malformed registryAliases or extraRepositories entry passes the chart but stops the agent at startup, and the agent's log names the entry.

Next Steps​

  • Agent Helm Values explains where to set these values on your kind of install, and which page matches the chart version you run.
  • Upgrade the agent on an agent-only install, keeping the values you set.