chore: add descriptions to roles

This commit is contained in:
Chris Kruining 2025-11-05 10:45:43 +01:00
parent 5134d1c89f
commit 80cfd36fdf
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
5 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1 @@
# Customer portal Clan-service

View file

@ -16,6 +16,8 @@ in
# Server configuration
#==============================================================================================================
roles.server = {
description = "A server hosts the portal";
interface = { lib, ... }:
let
inherit (lib) mkOption types toString;

View file

@ -0,0 +1 @@
# K3s Clan-service

View file

@ -16,6 +16,8 @@ in
# Server configuration
#==============================================================================================================
roles.server = {
description = "A server manages the cluster";
interface = { lib, ... }:
let
inherit (lib) mkOption mkEnableOption mkIf types toString;
@ -184,6 +186,8 @@ in
# Agent configuration
#==============================================================================================================
roles.agent = {
description = "An agent connects to the server";
interface = { lib, ... }: {
options = {};
};

View file

@ -17,6 +17,8 @@ in
# Controller configuration
#==============================================================================================================
roles.controller = {
description = "A controller that manages the instance";
interface = {
options = {
hostName = mkOption {
@ -225,6 +227,8 @@ in
# Peer configuration
#==============================================================================================================
roles.peer = {
description = "A peer";
interface = {
options = {};
};