mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
fix(netbird): use renvsubst container to create configuration
Signed-off-by: Vegard Hagen <[email protected]>
This commit is contained in:
@@ -28,12 +28,8 @@ spec:
|
||||
type: RuntimeDefault
|
||||
initContainers:
|
||||
- name: configure
|
||||
image: golang:latest
|
||||
command: [ /bin/sh, -c ]
|
||||
args:
|
||||
- >
|
||||
go install github.com/drone/envsubst/cmd/envsubst@latest &&
|
||||
envsubst < /tmp/netbird/management.json.tmpl > /etc/netbird/management.json
|
||||
image: ghcr.io/containeroo/renvsubst:0.10.0 # renovate: github-releases=containeroo/renvsubst
|
||||
args: [ -i, /tmp/netbird/management.json.tmpl, -o, /etc/netbird/management.json ]
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: false
|
||||
|
||||
Reference in New Issue
Block a user