Skip to main content

Values and labels for the Operator

Label selectors

The following is the default mapping for label selectors used by the Operator.

Name

Value

Instrumentation

contrast-agent

java

Adds the Java agent to the container

contrast-agent

dotnet-core

Adds the .NET Core agent to the container

contrast-agent

nodejs

OR

nodejs-esm

Adds the Node.js agent to the container

contrast-agent

php

Adds the PHP agent to the container

contrast-agent

python

Adds the Python agent to the container

Terraform values

Terraform values include the following.

Key

Definition

namespace

Namespace where Operator is installed.

image.registry

Registry to pull the image from.  Defaults to Contrast's registry.

image.repository

The repository to pull the image from.  Defaults to Contrast's repository.

image.tag

Tag to pull from.  Defaults to the version of the chart.

operator.defaultRegistry

Same as image.registry.

operator.eventQueueSize

The operator processes events from a stream in Kubernetes.  This is the maximum number of messages to process.

operator.eventQueueFullMode

Wait or DropOldest.

operator.webhookSecretName

The name of the secret.  Unless the secret was manually created, leave it as default.

operator.webhookConfiguration

The name of the webhook configuration.  Unless the configuration was manually created, leave it as default.

operator.enableEarlyChaining

Whether or not early chaining should be added (when using the agent with other agents).

clusterDefaults.enabled

Whether or not the cluster defaults are enabled.  This is recommended to be enabled to consolidate API keys.

defaultsDefaults.url

The agent hostname to use from the Kubernetes cluster.

clusterDefaults.apiKeyValue

serviceKeyValue

userNameValue

The values for the agent user to use.  Should be referenced as secrets on the cluster.

clusterDefaults.yaml

Optional additional YAML as generated by https://agent.config.contrastsecurity.com/.  Omit the API section.