samples: mgmt: hawkbit: enable ddi gateway security

Enable ddi gateway security by default in the
sample, as no security is now deprecated.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
Fin Maaß 2025-05-05 14:05:42 +02:00 committed by Benjamin Cabé
commit c4a99d11ba
2 changed files with 8 additions and 4 deletions

View file

@ -58,6 +58,10 @@ CONFIG_HAWKBIT_POLLING=y
#Config hawkBit Server #Config hawkBit Server
CONFIG_HAWKBIT_SERVER="192.168.1.110" CONFIG_HAWKBIT_SERVER="192.168.1.110"
# Config hawkBit security
CONFIG_HAWKBIT_DDI_GATEWAY_SECURITY=y
CONFIG_HAWKBIT_DDI_SECURITY_TOKEN="abcd1234"
#Debug helpers #Debug helpers
CONFIG_LOG=y CONFIG_LOG=y
CONFIG_HAWKBIT_LOG_LEVEL_INF=n CONFIG_HAWKBIT_LOG_LEVEL_INF=n

View file

@ -21,12 +21,12 @@ tests:
- CONFIG_HAWKBIT_SHELL=y - CONFIG_HAWKBIT_SHELL=y
sample.net.hawkbit.ddi.target: sample.net.hawkbit.ddi.target:
extra_configs: extra_configs:
- CONFIG_HAWKBIT_DDI_GATEWAY_SECURITY=n
- CONFIG_HAWKBIT_DDI_TARGET_SECURITY=y - CONFIG_HAWKBIT_DDI_TARGET_SECURITY=y
- CONFIG_HAWKBIT_DDI_SECURITY_TOKEN="abcd1234" sample.net.hawkbit.ddi.no_security:
sample.net.hawkbit.ddi.gateway:
extra_configs: extra_configs:
- CONFIG_HAWKBIT_DDI_GATEWAY_SECURITY=y - CONFIG_HAWKBIT_DDI_GATEWAY_SECURITY=n
- CONFIG_HAWKBIT_DDI_SECURITY_TOKEN="abcd1234" - CONFIG_HAWKBIT_DDI_NO_SECURITY=y
sample.net.hawkbit.tls: sample.net.hawkbit.tls:
extra_configs: extra_configs:
- CONFIG_HAWKBIT_USE_TLS=y - CONFIG_HAWKBIT_USE_TLS=y