Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the config v1alpha1 API group +kubebuilder:skip +kubebuilder:object:generate=true +groupName=config.rig.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "config.rig.dev", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type CertManagerConfig ¶
type CertManagerConfig struct { // ClusterIssuer to use for issueing ingress certificates ClusterIssuer string `json:"clusterIssuer"` // CreateCertificateResources specifies wether to create Certificate // resources. If this is not enabled we will use ingress annotations. This // is handy in environments where the ingress-shim isen't enabled. CreateCertificateResources bool `json:"createCertificateResources,omitempty"` }
func (*CertManagerConfig) DeepCopy ¶
func (in *CertManagerConfig) DeepCopy() *CertManagerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertManagerConfig.
func (*CertManagerConfig) DeepCopyInto ¶
func (in *CertManagerConfig) DeepCopyInto(out *CertManagerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressConfig ¶
type IngressConfig struct { // Annotations for all ingress resources created. Annotations map[string]string `json:"annotations"` // ClassName specifies the default ingress class to use for all ingress // resources created. ClassName string `json:"className"` }
func (*IngressConfig) DeepCopy ¶
func (in *IngressConfig) DeepCopy() *IngressConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressConfig.
func (*IngressConfig) DeepCopyInto ¶
func (in *IngressConfig) DeepCopyInto(out *IngressConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperatorConfig ¶
type OperatorConfig struct { metav1.TypeMeta `json:",inline"` // WebhooksEnabled set wether or not webhooks should be enabled. When // enabled a certificate should be mounted at the webhook server // certificate path. Defaults to true if omitted. WebhooksEnabled *bool `json:"webhooksEnabled,omitempty"` // DevModeEnabled enables verbose logs and changes the logging format to be // more human readable. DevModeEnabled bool `json:"devModeEnabled,omitempty"` // LeaderElectionEnabled enables leader election when running multiple // instances of the operator. LeaderElectionEnabled *bool `json:"leaderElectionEnabled,omitempty"` // Certmanager holds configuration for how the operator should create // certificates for ingress resources. Certmanager *CertManagerConfig `json:"certManager,omitempty"` // Ingress holds the configuration for ingress resources created by the // operator. Ingress IngressConfig `json:"ingress,omitempty"` }
OperatorConfig is the Schema for the configs API +kubebuilder:object:root=true
func (*OperatorConfig) DeepCopy ¶
func (in *OperatorConfig) DeepCopy() *OperatorConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorConfig.
func (*OperatorConfig) DeepCopyInto ¶
func (in *OperatorConfig) DeepCopyInto(out *OperatorConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OperatorConfig) DeepCopyObject ¶
func (in *OperatorConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OperatorConfig) Default ¶
func (c *OperatorConfig) Default()