-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Problem:
When deploying the Netbird Operator on my Talos Kubernetes cluster, the sidecar container for the apply-nbresource service fails with the following error:
bash: envsubst: command not found
Details:
- This error occurs inside the apply-nbresource sidecar.
- The failure suggests that the container image used for this sidecar does not contain the
envsubstbinary - As a result, the operator cannot render templates or complete its tasks as expected.
Steps to Reproduce:
- Deploy Netbird Operator in a Talos-managed Kubernetes cluster (my Talos cluster is using the following extensions: iscsi-tools, qemu-guest-agent, util-linux-tools)
- Observe the logs of the apply-nbresource sidecar container.
- Error appears:
bash: envsubst: command not found
Expected Behavior:
- The sidecar container should include
envsubstso that startup scripts can run successfully.
Potential Solution:
- Update the container image for the sidecar to include the
envsubstbinary (for Alpine images, useapk add --no-cache gettext; for Debian-based images, useapt-get install -y gettext-base). - Alternatively, modify the initialization scripts to avoid using
envsubstor use a different templating approach that does not require extra binaries.
Environment:
- Kubernetes: Talos
- Operator: Netbird
- Sidecar: apply-nbresource
Let me know if more details are needed!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels