Nereus/deploy/base/configmap.yaml

18 lines
619 B
YAML

# Non-secret API config. The DSN lives in the nereus-db Secret.
#
# Values must be quoted -- data is map[string]string, and an unquoted 8080
# gets rejected as an integer.
apiVersion: v1
kind: ConfigMap
metadata:
name: nereus-api-config
labels:
app.kubernetes.io/name: nereus-api
app.kubernetes.io/part-of: nereus
data:
PORT: "8080"
LOG_LEVEL: "info"
# main.go only enables tracing when this is set.
OTEL_EXPORTER_OTLP_ENDPOINT: "http://nereus-otel-collector.observability.svc.cluster.local:4317"
# Patched to a nonzero value on the preview to trigger the rollback demo.
CHAOS_ERROR_RATE: "0.0"