Skip to content

Latest commit

 

History

History
73 lines (62 loc) · 7.87 KB

File metadata and controls

73 lines (62 loc) · 7.87 KB

Requirements

Name Version
terraform >= 1.0
kubectl >= 2.2.0
kubernetes >= 2.10.0

Providers

Name Version
kubectl >= 2.2.0
kubernetes >= 2.10.0

Modules

No modules.

Resources

Name Type
kubectl_manifest.materialize_instance resource
kubernetes_config_map.system_params resource
kubernetes_namespace.instance resource
kubernetes_network_policy_v1.allow_api_server_egress resource
kubernetes_network_policy_v1.allow_kube_system_egress resource
kubernetes_network_policy_v1.allow_monitoring_ingress resource
kubernetes_secret.materialize_backend resource
kubernetes_resource.materialize_instance data source

Inputs

Name Description Type Default Required
authenticator_kind Kind of authenticator to use for Materialize instance string "None" no
balancer_cpu_request CPU request for balancer string "100m" no
balancer_memory_limit Memory limit for balancer string "256Mi" no
balancer_memory_request Memory request for balancer string "256Mi" no
cpu_request CPU request for environmentd string "1" no
crd_version CRD API version to use for the Materialize instance (v1alpha1 or v1alpha2). We recommend v1alpha2, but default to v1alpha1 for backwards compatibility. We will change this default in an upcoming major release. string "v1alpha1" no
create_namespace Whether to create the Kubernetes namespace. Set to false if the namespace already exists. bool true no
enable_network_policies Enable default-deny-ingress network policy for the instance namespace. Helm chart creates specific allow policies. bool true no
environmentd_extra_args Extra command line arguments for environmentd list(string) [] no
environmentd_extra_env Extra environment variables for environmentd
list(object({
name = string
value = string
}))
[] no
environmentd_version Version of environmentd to use string "v26.18.0" no
external_login_password_mz_system Password for external login to mz_system. Must be set if authenticator_kind is 'Password', 'Sasl', or 'Oidc'. string null no
force_rollout UUID to force a rollout string "00000000-0000-0000-0000-000000000001" no
instance_name Name of the Materialize instance string n/a yes
instance_namespace Kubernetes namespace for the instance. string n/a yes
issuer_ref Reference to a cert-manager Issuer or ClusterIssuer.
object({
name = string
kind = string
})
null no
license_key Materialize license key string null no
memory_limit Memory limit for environmentd string "4Gi" no
memory_request Memory request for environmentd string "4095Mi" no
metadata_backend_url PostgreSQL connection URL for metadata backend string n/a yes
monitoring_namespace Namespace where monitoring resources (Prometheus) are installed. Used for network policy to allow metrics scraping. string "monitoring" no
persist_backend_url S3 connection URL for persist backend string n/a yes
pod_labels Labels for the materialize instance pod map(string) {} no
request_rollout UUID to request a rollout (v1alpha1 only, ignored for v1alpha2) string "00000000-0000-0000-0000-000000000001" no
rollout_strategy Strategy to use for rollouts string "WaitUntilReady" no
service_account_annotations Annotations for the service account associated with the materialize instance. Useful for IAM roles assigned to the service account. map(string) {} no
system_parameters System parameters to configure for the Materialize instance. These are passed via a ConfigMap. Common parameters include max_connections, allowed_cluster_replica_sizes, max_clusters, max_sources, max_sinks. Set to null to skip creating the ConfigMap. map(string) {} no

Outputs

Name Description
instance_name Name of the Materialize instance
instance_namespace Namespace of the Materialize instance
instance_resource_id Resource ID of the Materialize instance
metadata_backend_url Metadata backend URL used by the Materialize instance
persist_backend_url Persist backend URL used by the Materialize instance