Documentation ¶
Index ¶
Constants ¶
View Source
const SkipCRDCreation = "skip-crd-creation"
SkipCRDCreation specifies whether the CustomResourceDefinition will be created by the daemon
Variables ¶
View Source
var RegisterCRDsCell = cell.Module( "create-crds", "Create Cilium CRDs", cell.Config(defaultConfig), cell.Invoke(createCRDs), )
RegisterCRDsCell is a cell that creates all the Cilium CRDs.
Functions ¶
func RegisterCRDs ¶
RegisterCRDs registers all CRDs with the K8s apiserver.
Types ¶
type CRDNotFoundError ¶
type CRDNotFoundError struct {
CRDName string
}
Define a custom error type for missing CRDs
func (*CRDNotFoundError) Error ¶
func (e *CRDNotFoundError) Error() string
type RegisterCRDsConfig ¶
type RegisterCRDsConfig struct { // SkipCRDCreation disables creation of the CustomResourceDefinition // for the operator SkipCRDCreation bool }
func (RegisterCRDsConfig) Flags ¶
func (c RegisterCRDsConfig) Flags(flags *pflag.FlagSet)
type RegisterCRDsFunc ¶
RegisterCRDsFunc is a function that register all the CRDs for a k8s group
Click to show internal directories.
Click to hide internal directories.