Files
OpenTofuPlayground/k8s/apps/example-nodered.tfvars
Lutz Finsterle cb4d02a361
Some checks failed
Deploy / Update K8s Apps / Detect changed K8s tfvars (push) Successful in 12s
Deploy / Update Apps / Detect changed tfvars files (push) Successful in 11s
Test / Unit Tests — Docker Stack (push) Has been skipped
Test / Unit Tests — K8s Stack (push) Has been skipped
Test / Static Analysis (push) Failing after 23s
Deploy / Update K8s Apps / Deploy ${{ matrix.tfvars }} (push) Failing after 12s
Deploy / Update K8s Apps / Destroy ${{ matrix.tfvars }} (push) Has been skipped
Deploy / Update Apps / Deploy ${{ matrix.tfvars }} (push) Failing after 12s
Deploy / Update Apps / Destroy ${{ matrix.tfvars }} (push) Has been skipped
Test / Integration Test — K8s (k3d) (push) Has been skipped
tofu fmt
2026-03-13 20:13:42 +01:00

38 lines
2.6 KiB
HCL

# ─── Kubernetes Connection ────────────────────────────────────────────────────
# kubeconfig_path is supplied at runtime by CI/CD from gopass — not stored here.
# ─── App Identity ─────────────────────────────────────────────────────────────
app_name = "mynodered"
environment = "prod"
# ─── App Container ────────────────────────────────────────────────────────────
app_image = "nodered/node-red:3.1.9"
app_port = 1880
# ─── Init Container ───────────────────────────────────────────────────────────
# Custom image containing default settings.js, package.json and node modules.
# flows.json and flows_cred.json are preserved if they already exist on the PVC.
init_container_image = "gitea.example.com/myorg/mynodered-init:v1.2.0"
init_data_src_path = "/app-data"
# ─── Storage ──────────────────────────────────────────────────────────────────
storage_class = "local-path" # k3s default provisioner
app_pvc_size = "2Gi"
# ─── Ingress (Traefik) ────────────────────────────────────────────────────────
app_path_prefix = "/mynodered"
traefik_entrypoint = "web"
# ─── Grafana Alloy ────────────────────────────────────────────────────────────
loki_endpoint = "http://loki.monitoring.svc:3100/loki/api/v1/push"
# loki_auth_token is supplied at runtime by CI/CD from gopass — not stored here.
# ─── RabbitMQ (optional) ──────────────────────────────────────────────────────
enable_rabbitmq = true
rabbitmq_image = "rabbitmq:3.13-management-alpine"
rabbitmq_user = "mynodered"
rabbitmq_vhost = "mynodered"
rabbitmq_pvc_size = "2Gi"
rabbitmq_path_prefix = "/mynodered-mq"
# rabbitmq_password is supplied at runtime by CI/CD from gopass — not stored here.