some clarifications for tags (#2531)
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
1e0516b99d
commit
8e7e52cf3a
3 changed files with 18 additions and 13 deletions
|
@ -80,7 +80,11 @@ type Node struct {
|
|||
|
||||
RegisterMethod string
|
||||
|
||||
ForcedTags []string `gorm:"serializer:json"`
|
||||
// ForcedTags are tags set by CLI/API. It is not considered
|
||||
// the source of truth, but is one of the sources from
|
||||
// which a tag might originate.
|
||||
// ForcedTags are _always_ applied to the node.
|
||||
ForcedTags []string `gorm:"column:forced_tags;serializer:json"`
|
||||
|
||||
// When a node has been created with a PreAuthKey, we need to
|
||||
// prevent the preauthkey from being deleted before the node.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue