castai-audit-logs-receiver

by Cast AI

Helm chartv0.14.1App v0.11.1Verified publisher

A Helm chart for CAST AI OpenTelemetry Collector.

About this chart

castai-audit-logs-receiver

A Helm chart for CAST AI OpenTelemetry Collector.

Values

KeyTypeDefaultDescription
affinityobject{}
castai.apiKeystring""Token to be used for authorizing access to the CASTAI API.
castai.apiKeySecretRefstring""Name of secret with Token to be used for authorizing access to the API. apiKey and apiKeySecretRef are mutually exclusive. The referenced secret must provide the token in .data["CASTAI_API_KEY"].
castai.apiURLstring"https://api.cast.ai"CASTAI public api url.
castai.clusterIDstring""Cluster id to be used for filtering audit logs.
castai.clusterIdSecretKeyRef.keystring"CASTAI_CLUSTER_ID"
castai.clusterIdSecretKeyRef.namestring""
commonAnnotationsobject{}Annotations to add to all resources.
commonLabelsobject{}Labels to add to all resources.
config.exporters.debug.sampling_initialint5
config.exporters.debug.sampling_thereafterint200
config.exporters.debug.verbositystring"detailed"
config.extensions.health_check.endpointstring"0.0.0.0:13133"
config.receivers.castai_audit_logs.api.keystring"${env:CASTAI_API_KEY}"
config.receivers.castai_audit_logs.api.urlstring"${env:CASTAI_API_URL}"
config.receivers.castai_audit_logs.filters.cluster_idstring"${env:CASTAI_CLUSTER_ID}"
config.receivers.castai_audit_logs.page_limitint100
config.receivers.castai_audit_logs.poll_interval_secint30
config.receivers.castai_audit_logs.storage.filenamestring"/var/lib/otelcol/file_storage/audit_logs_poll_data.json"
config.receivers.castai_audit_logs.storage.typestring"persistent"
config.service.extensions[0]string"health_check"
config.service.pipelines.logs.exporters[0]string"debug"
config.service.pipelines.logs.receivers[0]string"castai_audit_logs"
config.service.telemetry.logs.levelstring"debug"
configMap.configMapRefstring""The name of the configMap to use, which contains the otel collector config. configMap.create must be false. The key should be "config" and value should be the otel collector config in YAML format.
configMap.createbooltrueSpecifies whether a configMap should be created using the values.config as data.
containerSecurityContextobject{}
extraVolumeMountslist[]Used to set additional volume mounts
extraVolumeslist[]Used to set additional volumes
fullnameOverridestring""Override the release name used for the full names of resources.
hostNetworkboolfalseHost networking requested for this pod. Use the host's network namespace.
image.pullPolicystring"IfNotPresent"
image.repositorystring"ghcr.io/castai/images/audit-logs-receiver"
image.tagstring""
imagePullSecretslist[]Specify image pull secrets
nameOverridestring""Override the name of the chart.
nodeSelectorobject{}
persistence.accessModestring"ReadWriteOnce"
persistence.annotationsobject{}
persistence.enabledbooltrue
persistence.existingClaimstring""
persistence.sizestring"50M"
persistence.storageClassstring""
podAnnotationsobject{}Annotations to be added to pods.
podLabelsobject{}Labels to be added to pods.
podSecurityContextobject{}
resourcesobject{}
rollout.rollingUpdateobject{}
rollout.strategystring"RollingUpdate"
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.createboolfalseSpecifies whether a service account should be created.
serviceAccount.namestring""The name of the service account to use. If not set, the default serviceAccount will be used.
statefulset.podManagementPolicystring"Parallel"
tolerationslist[]

Deploy castai-audit-logs-receiver with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has castai-audit-logs-receiver on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcastai-audit-logs-receiver is pinned at v0.14.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply