In Coverity cloud, global Helm keys are global values that are used by both the parent
cnc chart and its scan-services subchart. The following Helm keys are global. values
that can be accessed from the cnc chart and the
scan-services subchart.
.yaml file or Helm command using the global syntax specified in the
Helm chart.The following categories of global Helm keys, described in the sections and tables that
follow, are available in both the cnc chart and the
scan-services chart:
global- See global root Helm keys.global.ingress- See global.ingress Helm keys.global.postgres- See global.postgres Helm keys.global.proxy- See global.proxy Helm keys.global.redis- See global.redis Helm keys.global.trust-stores- See global.trust-stores Helm keys.
If you are deploying the scan-services chart, we recommend that you
configure the global key values to pass values to both the cnc chart
and the scan-services chart.
Refer to the following documentation for further information on global keys and global chart values and how to use them in Coverity cloud:
- For Helm documentation, see: https://helm.sh/docs/chart_template_guide/subcharts_and_globals/#global-chart-values.
- For Coverity Cloud deployment information, see also: About the cnc chart and scan-services subchart.
global root Helm keys
| Key | Default value | Description |
|---|---|---|
|
[] |
Use this Helm key to mount volumes created in the
|
|
[] |
Common additional volumes to add to All If you want to set different additional volumes for
This single Helm key, if configured, provides additional volumes
for the following Coverity Connect pods: Connect webapp, Connect
admin tools, and Connect database tools. See the
|
|
"IfNotPresent" |
See the Kubernetes page: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy. This is set on each Coverity cloud deployment pod to control its image pull policy. Valid values are:
|
|
"" |
Specify the name of the secret that contains the credentials needed to connect to the registry that contains the container images and client images used to deploy the Coverity cloud containers and jobs. This must be set for images that are pulled from a registry that requires authentication. The Coverity images must be kept in a private Docker registry requiring credentials to access. Also, the secret must exist in the same namespace. For information on creating an image pull secret, refer to: |
|
"COVERITY_IMAGE_​REGISTRY" |
The registry from which Kubernetes nodes pull Black Duck Coverity cloud container images
from. While these images can be pulled from the Black Duck registry, using your own
private registry provides much faster image pulls. If you use
multiple registries, this key can be overridden by the
chart-level |
|
"" |
If you are installing Coverity on OpenShift, you need to specify
a Valid values for this key are:
|
|
"" |
The container image tag used for all Black Duck images. This can be overridden
for each chart by the root |
|
false |
Important: Keygen is Black Duck
internal use only. Do NOT enable Keygen.
|
|
"" |
This Helm key specifies the name of a Coverity license secret.
This license is used by both Coverity Connect and Coverity
Analysis. The secret, which is in the Connect namespace, must
contain a valid and active Connect license. The name of the
license key stored in the license secret must be
Important: The Helm chart contains
references to Keygen and a
license.json license
secret. Do NOT use Keygen or license.json. They
are Black Duck internal use
only.Refer to:
|
|
[] |
This is a global tolerations parameter that sets the tolerations on all of the Coverity cloud pods. By default, Coverity is deployed on AMD pods. To deploy on only ARM64 pods, you would provide the following toleration:
|
global.artifactStorage Helm keys
The following global.artifactStorage Helm keys enable Coverity cloud
access and security for artifact storage that exists in AWS, s3, Azure, or GCP. For
any of these storage types, you need to specify the storage type, then specify the
secret to access the storage.
Subcharts that read Values.global.artifactStorage values (for
example, the triage-suggestion-service) automatically inherit the
storage type and provider credentials.
| Key | Default value | Description |
|---|---|---|
|
"" |
If you are using cloud storage, specify one of the following
storage types: For gcs, s3, and azure, you also need to configure the secret keys |
|
|
|
|
|
The default ingress controller is NGINX, therefore
the default value points to the
kubernetes.io/ingress.class annotation key. If
you use a different ingress controller, update the value in this
field. |
|
|
Set to |
global.ingress Helm keys
The following Helm keys configure the ingress controller. If TLS sidecar NGINX
reverse proxy is enabled, this will forward to https/8443;
otherwise it will forward to http/8080.
| Key | Default value | Description |
|---|---|---|
|
Additional annotations to provide to the ingress object. You can use the following annotation syntax to specify the maximum file size to allow through the ingress port: nginx.ingress.kubernetes.io/proxy-body-size:
<fileSize>For example, to be able to upload a 7.6 GB Coverity toolkit tar file from a client to Connect: See also Set NGINX proxy-body-size for Coverity toolkit tar file upload to Connect. |
|
|
|
If |
|
"nginx" |
The default ingress controller is NGINX, therefore
the default value points to the
kubernetes.io/ingress.class annotation key. If
you use a different ingress controller, update the value in this
field. |
|
false |
Set to |
|
[] |
Array of allowed host names. Important: The Connect (cim)
hostname that you specify in
global.ingress.hosts must not exceed 46
characters in length. This restriction excludes the
https:// characters that are used when you
specify the URL, as well as any port specification. |
|
"/" |
The ingress rule path.
|
|
[] |
Array of object with schema to select the TLS secret for https:
|
global.keygen Helm key
By default, Keygen is disabled.
global.keygen.enabled.| Key | Default value | Description |
|---|---|---|
|
|
Important: Keygen is Black Duck internal use only. Do NOT use
Keygen.
|
global.postgres Helm keys
The following PostgreSQL Helm keys can be used to set PostgreSQL database connection parameters for all services (Connect, Scan Service, and Storage Service) connected to a single PostgreSQL database. If any service has its own Postgres database, the Postgres Helm keys for that service can override the global parameters for that service.
The following services can override the global.postgres keys as
needed:
- Coverity Connect (
cncchart,cim.postgresHelm keys): See cim.postgres Helm keys - create Connect cim PostgreSQL access job. - Scan Service (
scan-serviceschart,scan-service.postgresHelm keys) See scan-service.postgres Helm keys - configure access to a Scan Service PostgreSQL database. - Storage Service (
scan-serviceschart,storage-service.postgresHelm keys) See storage-service.postgres Helm keys - configure access to a Storage Service PostgreSQL database.
| Key | Default Value | Description |
|---|---|---|
|
"" |
This Helm key enables you to specify an existing Kubernetes PostgreSQL secret name to be used for all services unless overridden by specific services. The secret must contain the following values:
|
|
"" |
Specifies the PostgreSQL host. For example, "cim". Use this key if you have not created a secret. |
|
[] |
You can use this Helm key to specify sidecar containers to add
within pods that require a PostgreSQL database connection. This
sidecar is added to the native sidecar, which is an init
container with Native sidecar containers require Kubernetes 1.28 or later. For example:
For further information on using this and related Helm keys, refer to Attaching a Cloud SQL proxy native sidecar container in GCP. See also: https://kubernetes.io/blog/2023/08/25/native-sidecar-containers/. |
|
"" |
Specifies the password to connect to the PostgreSQL host for a Connect instance. Use this key if you have not created a secret. |
|
"5432" |
Use port 5432 for all instances of PostgreSQL. Use this key if you have not created a secret. |
|
[] |
The sidecar container specification to attach for pods that
require a database connection. The sidecar is added as a native
sidecar, which is an init container with
For further information on using this and related Helm keys, refer to Attaching a Cloud SQL proxy native sidecar container in GCP. See also: https://kubernetes.io/blog/2023/08/25/native-sidecar-containers/. For example:
where the
|
|
"verify-ca" |
The PostgreSQL SSL mode must be one of the following values:
The default value is For further information, see Select the PostgreSQL sslmode and find the PostgreSQL root certificate for TLS. For value definitions, see Table 1. |
|
"" |
The username to connect to the PostgreSQL host. Use this key if you have not created a secret. |
global.proxy Helm keys
Set this value at the global level if you want to pass the same configmap for both
cnc and scan-services.
To use a different configmap for cnc and
scan-services:
-
Set
proxy.<parameter(s)>to configure it forcncservices. -
Set
scan-services.proxy.<parameter(s)>to configure it forscan-services -
Set only
proxy.<parameters>if you are NOT usingscan-services.
The following Helm keys define TLS forward proxy values that apply to both the
cnc chart and the scan-services subchart,
except where overridden. The following proxy parameters configure forward proxy,
which acts as a Man-In-The-Middle.
See also:
- To configure TLS forward proxy, see Configuring TLS forward proxy
- To define chart-level TLS forward proxy keys, see proxy Helm keys
| Key | Default Value | Description |
|---|---|---|
|
false |
This boolean Helm key enables or disables TLS forward proxy globally within the cluster.
|
|
"" |
This string Helm key specifies the proxy host server. |
|
3128 |
Specifies the proxy port that the host server listens on. |
|
"tls" |
The TLS proxy mode must be one of the following values:
The default value is When TLS mode is set to either tls or mtls, the proxy server CA
certificate must be included in the trust-stores ConfigMap with
key name The file names of other server CA certificates (excluding postgres, proxy server) are not important. For example: The Black Duck artifactory server CA certificate can
be named |
|
"" |
If proxy is enabled with If proxy is enabled with |
global.redis Helm keys
The following Helm keys define global Redis related variables needed by the Cache Service.
| Key | Default value | Description |
|---|---|---|
|
false |
Enable Redis authentication.
If |
|
false |
Specifies whether the integrated Bitnami Redis chart permits container images from registries other than Bitnami.
Set this value to
If this value is |
|
"" |
If TLS is enabled, specifies the secret that contains the CA
certificate to be used for Redis communication. This secret must
contain the To create the secret, see Create a Cache Service CA certificate secret for Redis. For further Redis Helm key information, see Redis keys. |
|
"" |
Redis host. |
|
"" |
Redis password. |
|
6379 |
An integer value that specifies the Redis port. |
|
true |
Specifies if TLS is enabled for secure
communication with Redis.
|
|
false |
Specifies whether or not the host name
needs to be verified for Redis communication, if TLS is enabled.
|
global.trust-stores Helm keys
The following global.trust-stores Helm key specifies the name of the
ConfigMap that contains the Connect truststore certificates.
| Key | Default value | Description |
|---|---|---|
|
"connect-trust-stores" |
This Helm key specifies the name of the ConfigMap that contains
the Connect truststore certificates. The default name is
Example of the
Important: The PostgreSQL root
certificate must be named
postgres-root.pem.The names of all files except PostgreSQL root certificate are not important; they are mounted into the same directory. All files in that directory are treated as certificates and loaded into the Coverity Connect truststore. For further information on creating Connect ConfigMaps, refer to the appropriate section(s) for your deployment:
|
|
false |
|