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:
@@ -11,15 +11,12 @@ import (
|
||||
// SetupKeyApplyConfiguration represents a declarative configuration of the SetupKey type for use
|
||||
// with apply.
|
||||
//
|
||||
// SetupKey is the Schema for the setupkeys API
|
||||
// SetupKey is the Schema for the setupkeys API.
|
||||
type SetupKeyApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
// metadata is a standard object metadata
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired state of SetupKey
|
||||
Spec *SetupKeySpecApplyConfiguration `json:"spec,omitempty"`
|
||||
// status defines the observed state of SetupKey
|
||||
Status *SetupKeyStatusApplyConfiguration `json:"status,omitempty"`
|
||||
Spec *SetupKeySpecApplyConfiguration `json:"spec,omitempty"`
|
||||
Status *SetupKeyStatusApplyConfiguration `json:"status,omitempty"`
|
||||
}
|
||||
|
||||
// SetupKey constructs a declarative configuration of the SetupKey type for use with
|
||||
|
||||
Reference in New Issue
Block a user