mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +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:
|
securityContext:
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
# sysctls:
|
sysctls:
|
||||||
# # Considered unsafe, need to enable with kubelet argument.
|
# Considered unsafe, need to enable with kubelet argument.
|
||||||
# # see https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#enabling-unsafe-sysctls
|
# see https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#enabling-unsafe-sysctls
|
||||||
# - name: net.ipv4.conf.all.src_valid_mark
|
- name: net.ipv4.conf.all.src_valid_mark
|
||||||
# value: "1"
|
value: "1"
|
||||||
containers:
|
containers:
|
||||||
- name: agent
|
- name: agent
|
||||||
image: docker.io/netbirdio/netbird:0.52.2 # renovate: docker=docker.io/netbirdio/netbird
|
image: docker.io/netbirdio/netbird:0.52.2 # renovate: docker=docker.io/netbirdio/netbird
|
||||||
|
|||||||
@@ -6,10 +6,9 @@ configMapGenerator:
|
|||||||
namespace: netbird
|
namespace: netbird
|
||||||
literals:
|
literals:
|
||||||
- NB_HOSTNAME="talos-agent"
|
- NB_HOSTNAME="talos-agent"
|
||||||
- NB_LOG_LEVEL="warn"
|
- NB_LOG_LEVEL="info"
|
||||||
- NB_MANAGEMENT_URL="https://netbird.stonegarden.dev"
|
- NB_MANAGEMENT_URL="https://netbird.stonegarden.dev"
|
||||||
- NB_ADMIN_URL="https://netbird.stonegarden.dev"
|
- NB_ADMIN_URL="https://netbird.stonegarden.dev"
|
||||||
- NB_CONFIG="/var/lib/netbird/config.json"
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- agent-setup-key.yaml
|
- agent-setup-key.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user