mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 07:10:14 +00:00
fix(netbird): update config after update
Default config moved with introduction of profiles in 0.52. config.json is now called default.json. Removed env-var for config and it resolves itself. Also re-enabled the sysctls after getting related error in log Signed-off-by: Vegard Hagen <[email protected]>
This commit is contained in:
@@ -15,11 +15,11 @@ spec:
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
# sysctls:
|
||||
# # Considered unsafe, need to enable with kubelet argument.
|
||||
# # see https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#enabling-unsafe-sysctls
|
||||
# - name: net.ipv4.conf.all.src_valid_mark
|
||||
# value: "1"
|
||||
sysctls:
|
||||
# Considered unsafe, need to enable with kubelet argument.
|
||||
# see https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#enabling-unsafe-sysctls
|
||||
- name: net.ipv4.conf.all.src_valid_mark
|
||||
value: "1"
|
||||
containers:
|
||||
- name: agent
|
||||
image: docker.io/netbirdio/netbird:0.52.2 # renovate: docker=docker.io/netbirdio/netbird
|
||||
|
||||
@@ -6,10 +6,9 @@ configMapGenerator:
|
||||
namespace: netbird
|
||||
literals:
|
||||
- NB_HOSTNAME="talos-agent"
|
||||
- NB_LOG_LEVEL="warn"
|
||||
- NB_LOG_LEVEL="info"
|
||||
- NB_MANAGEMENT_URL="https://netbird.stonegarden.dev"
|
||||
- NB_ADMIN_URL="https://netbird.stonegarden.dev"
|
||||
- NB_CONFIG="/var/lib/netbird/config.json"
|
||||
|
||||
resources:
|
||||
- agent-setup-key.yaml
|
||||
|
||||
Reference in New Issue
Block a user