Appendix: Materialize CRD Field Descriptions
MaterializeSpec
| Field Name | Required | Description |
|---|---|---|
backendSecretName |
✅ |
String
The name of a secret containing |
environmentdImageRef |
✅ |
String
The environmentd image to run. |
authenticatorKind |
Enum
How to authenticate with Materialize. Valid values:
Default: |
|
balancerdExternalCertificateSpec |
MaterializeCertSpec
The configuration for generating an x509 certificate using cert-manager for balancerd
to present to incoming connections.
The |
|
balancerdReplicas |
Integer
Number of balancerd pods to create. |
|
balancerdResourceRequirements |
io.k8s.api.core.v1.ResourceRequirements
Resource requirements for the balancerd pod. |
|
consoleExternalCertificateSpec |
MaterializeCertSpec
The configuration for generating an x509 certificate using cert-manager for the console
to present to incoming connections.
The |
|
consoleReplicas |
Integer
Number of console pods to create. |
|
consoleResourceRequirements |
io.k8s.api.core.v1.ResourceRequirements
Resource requirements for the console pod. |
|
enableRbac |
Bool
Whether to enable role based access control. Defaults to false. |
|
environmentId |
Uuid
The value used by environmentd (via the –environment-id flag) to uniquely identify this instance. Must be globally unique, and is required if a license key is not provided. NOTE: This value MUST NOT be changed in an existing instance, since it affects things like the way data is stored in the persist backend. Default: |
|
environmentdConnectionRoleArn |
String
If running in AWS, override the IAM role to use to support the CREATE CONNECTION feature. |
|
environmentdExtraArgs |
Array<String>
Extra args to pass to the environmentd binary. |
|
environmentdExtraEnv |
Array<io.k8s.api.core.v1.EnvVar>
Extra environment variables to pass to the environmentd binary. |
|
environmentdResourceRequirements |
io.k8s.api.core.v1.ResourceRequirements
Resource requirements for the environmentd pod. |
|
environmentdScratchVolumeStorageRequirement |
io.k8s.apimachinery.pkg.api.resource.Quantity
Amount of disk to allocate, if a storage class is provided. |
|
forcePromote |
Uuid
If Default: |
|
forceRollout |
Uuid
This value will be written to an annotation in the generated
environmentd statefulset, in order to force the controller to
detect the generated resources as changed even if no other changes
happened. This can be used to force a rollout to a new generation
even without making any meaningful changes, by setting it to the
same value as Default: |
|
internalCertificateSpec |
MaterializeCertSpec
The cert-manager Issuer or ClusterIssuer to use for database internal communication.
The |
|
podAnnotations |
Map<String, String>
Annotations to apply to the pods. |
|
podLabels |
Map<String, String>
Labels to apply to the pods. |
|
requestRollout |
Uuid
When changes are made to the environmentd resources (either via
modifying fields in the spec here or by deploying a new
orchestratord version which changes how resources are generated),
existing environmentd processes won’t be automatically restarted.
In order to trigger a restart, the request_rollout field should be
set to a new (random) value. Once the rollout completes, the value
of Defaults to a random value in order to ensure that the first generation rollout is automatically triggered. Default: |
|
rolloutStrategy |
Enum
Rollout strategy to use when upgrading this Materialize instance. Valid values:
Default: |
|
serviceAccountAnnotations |
Map<String, String>
Annotations to apply to the service account. Annotations on service accounts are commonly used by cloud providers for IAM. AWS uses “eks.amazonaws.com/role-arn”. Azure uses “azure.workload.identity/client-id”, but additionally requires “azure.workload.identity/use”: “true” on the pods. |
|
serviceAccountLabels |
Map<String, String>
Labels to apply to the service account. |
|
serviceAccountName |
String
Name of the kubernetes service account to use. If not set, we will create one with the same name as this Materialize object. |
MaterializeCertSpec
| Field Name | Required | Description |
|---|---|---|
dnsNames |
Array<String>
Additional DNS names the certificate will be valid for. |
|
duration |
String
Duration the certificate will be requested for.
Value must be in units accepted by Go
|
|
issuerRef |
CertificateIssuerRef
Reference to an |
|
renewBefore |
String
Duration before expiration the certificate will be renewed.
Value must be in units accepted by Go
|
|
secretTemplate |
CertificateSecretTemplate
Additional annotations and labels to include in the Certificate object. |
CertificateSecretTemplate
| Field Name | Required | Description |
|---|---|---|
annotations |
Map<String, String>
Annotations is a key value map to be copied to the target Kubernetes Secret. |
|
labels |
Map<String, String>
Labels is a key value map to be copied to the target Kubernetes Secret. |
CertificateIssuerRef
| Field Name | Required | Description |
|---|---|---|
name |
✅ |
String
Name of the resource being referred to. |
group |
String
Group of the resource being referred to. |
|
kind |
String
Kind of the resource being referred to. |
io.k8s.api.core.v1.ResourceRequirements
| Field Name | Required | Description |
|---|---|---|
claims |
Array<io.k8s.api.core.v1.ResourceClaim>
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. |
|
limits |
Map<String, io.k8s.apimachinery.pkg.api.resource.Quantity>
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
|
requests |
Map<String, io.k8s.apimachinery.pkg.api.resource.Quantity>
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
io.k8s.api.core.v1.ResourceClaim
| Field Name | Required | Description |
|---|---|---|
name |
✅ |
String
Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
request |
String
Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. |
io.k8s.api.core.v1.EnvVar
| Field Name | Required | Description |
|---|---|---|
name |
✅ |
String
Name of the environment variable. Must be a C_IDENTIFIER. |
value |
String
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. “$$(VAR_NAME)” will produce the string literal “$(VAR_NAME)”. Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to “”. |
|
valueFrom |
io.k8s.api.core.v1.EnvVarSource
Source for the environment variable’s value. Cannot be used if value is not empty. |
io.k8s.api.core.v1.EnvVarSource
| Field Name | Required | Description |
|---|---|---|
configMapKeyRef |
io.k8s.api.core.v1.ConfigMapKeySelector
Selects a key of a ConfigMap. |
|
fieldRef |
io.k8s.api.core.v1.ObjectFieldSelector
Selects a field of the pod: supports metadata.name, metadata.namespace, |
|
resourceFieldRef |
io.k8s.api.core.v1.ResourceFieldSelector
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. |
|
secretKeyRef |
io.k8s.api.core.v1.SecretKeySelector
Selects a key of a secret in the pod’s namespace |
io.k8s.api.core.v1.SecretKeySelector
| Field Name | Required | Description |
|---|---|---|
key |
✅ |
String
The key of the secret to select from. Must be a valid secret key. |
name |
✅ |
String
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
optional |
Bool
Specify whether the Secret or its key must be defined |
io.k8s.api.core.v1.ResourceFieldSelector
| Field Name | Required | Description |
|---|---|---|
resource |
✅ |
String
Required: resource to select |
containerName |
String
Container name: required for volumes, optional for env vars |
|
divisor |
io.k8s.apimachinery.pkg.api.resource.Quantity
Specifies the output format of the exposed resources, defaults to “1” |
io.k8s.api.core.v1.ObjectFieldSelector
| Field Name | Required | Description |
|---|---|---|
fieldPath |
✅ |
String
Path of the field to select in the specified API version. |
apiVersion |
String
Version of the schema the FieldPath is written in terms of, defaults to “v1”. |
io.k8s.api.core.v1.ConfigMapKeySelector
| Field Name | Required | Description |
|---|---|---|
key |
✅ |
String
The key to select. |
name |
✅ |
String
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
optional |
Bool
Specify whether the ConfigMap or its key must be defined |