chore(ci): add config for lldpd extension

Add `ExtensionServiceConfig` for lldpd extension.

Signed-off-by: Noel Georgi <git@frezbo.dev>
This commit is contained in:
Noel Georgi 2024-10-16 13:05:56 +05:30
parent 9f0de9f43d
commit db248de88d
No known key found for this signature in database
GPG Key ID: 21A9F444075C9E36
2 changed files with 11 additions and 116 deletions

View File

@ -1,116 +0,0 @@
[
{
"machine": {
"install": {
"image": .
},
"sysctls": {
"user.max_user_namespaces": "11255"
},
"kernel": {
"modules": [
{
"name": "asix"
},
{
"name": "ax88179_178a"
},
{
"name": "ax88796b"
},
{
"name": "binfmt_misc"
},
{
"name": "btrfs"
},
{
"name": "cdc_ether"
},
{
"name": "cdc_mbim"
},
{
"name": "cdc_ncm"
},
{
"name": "cdc_subset"
},
{
"name": "cdc_wdm"
},
{
"name": "cxgb"
},
{
"name": "cxgb3"
},
{
"name": "cxgb4"
},
{
"name": "cxgb4vf"
},
{
"name": "drbd"
},
{
"name": "gasket"
},
{
"name": "net1080"
},
{
"name": "option"
},
{
"name": "qmi_wwan"
},
{
"name": "r8153_ecm"
},
{
"name": "thunderbolt"
},
{
"name": "thunderbolt_net"
},
{
"name": "usb_wwan"
},
{
"name": "usbnet"
},
{
"name": "usbserial"
},
{
"name": "zaurus"
},
{
"name": "zfs"
}
]
}
}
},
{
"apiVersion": "v1alpha1",
"kind": "ExtensionServiceConfig",
"name": "tailscale",
"environment": [
"TS_AUTHKEY=tskey-0000000000000000"
]
},
{
"apiVersion": "v1alpha1",
"kind": "ExtensionServiceConfig",
"name": "nut-client",
"configFiles": [
{
"content": "MONITOR ${upsmonHost} 1 remote ${upsmonPasswd} slave\nSHUTDOWNCMD \"/sbin/poweroff\"",
"mountPath": "/usr/local/etc/nut/upsmon.conf"
}
]
}
]

View File

@ -45,3 +45,14 @@ configFiles:
MONITOR ${upsmonHost} 1 remote ${upsmonPasswd} slave
SHUTDOWNCMD "/sbin/poweroff"
mountPath: /usr/local/etc/nut/upsmon.conf
---
apiVersion: v1alpha1
kind: ExtensionServiceConfig
name: lldpd
configFiles:
- content: |
configure lldpd portidsubtype ifname
unconfigure lldp management-addresses-advertisements
unconfigure lldp capabilities-advertisements
configure system description "Talos Node"
mountPath: /usr/local/etc/lldpd/lldpd.conf