temporalio / temporalio/temporal-worker-controller

Controller pod crashes on startup when no TLS secret is provided (WRT webhook cannot be disabled)

Open
#284 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
187
Forks
70
Avg merge
4d 1h
Merged PRs (30d)
31

Description

Installing the chart in a cluster that doesn't use WorkerResourceTemplate leaves the manager pod in CreateContainerConfigError or CrashLoopBackOff:

 open /tmp/k8s-webhook-server/serving-certs/tls.crt: no such file or directory

This happens even when I pass:

  --set certmanager.install=false
  --set certmanager.enabled=false
  --set webhook.enabled=false
What I had to do to get it running:

Created a throwaway self-signed cert manually before installing the chart. Nothing in my cluster actually calls the WRT webhook, the cert just exists so the binary will boot.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the installation with certmanager and webhook disabled, then trace the manager pod startup and Helm chart values involved in creating the webhook server. Confirm the fix by verifying that a cluster without WorkerResourceTemplate can start the controller without a TLS secret and without entering CreateContainerConfigError or CrashLoopBackOff.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, helm, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.