mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
Add ready conditon and cleanup finalizer and status patching (#186)
This change adds a ready condition. It also sets a standard for status fields and documentation. It makes use of helper functions from FluxCD to better manage patching of finalizers and status. Signed-off-by: Philip Laine <philip.laine@gmail.com>
This commit is contained in:
@@ -9,13 +9,13 @@ import (
|
||||
// SetupKeySpecApplyConfiguration represents a declarative configuration of the SetupKeySpec type for use
|
||||
// with apply.
|
||||
//
|
||||
// SetupKeySpec defines the desired state of SetupKey
|
||||
// SetupKeySpec defines the desired state of SetupKey.
|
||||
type SetupKeySpecApplyConfiguration struct {
|
||||
// Ephemeral decides if peers added with the key are ephemeral or not.
|
||||
Ephemeral *bool `json:"ephemeral,omitempty"`
|
||||
// Duration sets how long the setup key is valid for.
|
||||
Duration *v1.Duration `json:"duration,omitempty"`
|
||||
// Groups that will be automatically assigned to resources using setup key.
|
||||
// AutoGroups are groups that will be automatically assigned to peers using setup key.
|
||||
AutoGroups []ResourceReferenceApplyConfiguration `json:"autoGroups,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user