Documentation
¶
Overview ¶
+kubebuilder:validation:Optional +groupName=operator.openshift.io
Package v1alpha1 contains API Schema definitions for the operator.openshift.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.openshift.io
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type CertManager
- type CertManagerList
- type CertManagerResourceRequirements
- type CertManagerSpec
- type CertManagerStatus
- type DeploymentConfig
- type UnsupportedConfigOverrides
- type UnsupportedConfigOverridesForCertManagerCAInjector
- type UnsupportedConfigOverridesForCertManagerController
- type UnsupportedConfigOverridesForCertManagerWebhook
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "operator.openshift.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Manually added to conform to k8s code-generator lister-gen. Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CertManager ¶
type CertManager struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:Required
// +required
Spec CertManagerSpec `json:"spec,omitempty"`
// +optional
Status CertManagerStatus `json:"status,omitempty"`
}
CertManager is the Schema for the certmanagers API +operator-sdk:csv:customresourcedefinitions:displayName="CertManager"
func (*CertManager) DeepCopy ¶
func (in *CertManager) DeepCopy() *CertManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertManager.
func (*CertManager) DeepCopyInto ¶
func (in *CertManager) DeepCopyInto(out *CertManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertManager) DeepCopyObject ¶
func (in *CertManager) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertManagerList ¶
type CertManagerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []CertManager `json:"items"`
}
CertManagerList contains a list of CertManager
func (*CertManagerList) DeepCopy ¶
func (in *CertManagerList) DeepCopy() *CertManagerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertManagerList.
func (*CertManagerList) DeepCopyInto ¶
func (in *CertManagerList) DeepCopyInto(out *CertManagerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertManagerList) DeepCopyObject ¶
func (in *CertManagerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertManagerResourceRequirements ¶
type CertManagerResourceRequirements struct {
// Limits describes the maximum amount of compute resources allowed.
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
// +optional
Limits corev1.ResourceList `json:"limits,omitempty" protobuf:"bytes,1,rep,name=limits,casttype=ResourceList,castkey=ResourceName"`
// Requests describes the minimum amount of compute resources required.
// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
// otherwise to an implementation-defined value.
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
// +optional
Requests corev1.ResourceList `json:"requests,omitempty" protobuf:"bytes,2,rep,name=requests,casttype=ResourceList,castkey=ResourceName"`
}
CertManagerResourceRequirements describes the compute resource requirements for the cert-manager operands, namely the controller, webhook and cainjector.
func (*CertManagerResourceRequirements) DeepCopy ¶
func (in *CertManagerResourceRequirements) DeepCopy() *CertManagerResourceRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertManagerResourceRequirements.
func (*CertManagerResourceRequirements) DeepCopyInto ¶
func (in *CertManagerResourceRequirements) DeepCopyInto(out *CertManagerResourceRequirements)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertManagerSpec ¶
type CertManagerSpec struct {
apiv1.OperatorSpec `json:",inline"`
// ControllerConfig specifies further customization options for the controller's deployment spec.
//
// Possible customizations include the following,
//
// For OverrideArgs,
// This field appends values to .spec.template.spec.containers[...].args. The container
// that will be selected will be based on image present on the spec. Possible values are,
// Eg:
// - "--acme-http01-solver-nameservers="8.8.8.8:53,1.1.1.1:53"
// - "--dns01-recursive-nameservers=8.8.8.8:53,1.1.1.1:53"
// - "--dns01-recursive-nameservers-only"
//
// For OverrideEnvs,
// This field appends values to .spec.template.spec.containers[...].env. The container
// that will be selected will be based on image present on the spec. Possible values are,
// Eg:
// - "HTTP_PROXY": "http://proxy:8080"
//
// +kubebuilder:validation:Optional
// +optional
ControllerConfig *DeploymentConfig `json:"controllerConfig,omitempty"`
// WebhookConfig specifies further customization options for the webhook's deployment spec.
//
// Possible customizations include the following,
//
// For OverrideArgs,
// --config string Path to a file containing a WebhookConfiguration object used to configure the webhook
// --dynamic-serving-ca-secret-name string name of the secret used to store the CA that signs serving certificates certificates
// --dynamic-serving-ca-secret-namespace string namespace of the secret used to store the CA that signs serving certificates
// --dynamic-serving-dns-names strings DNS names that should be present on certificates generated by the dynamic serving CA
// --v Level number for the log level verbosity
//
// +kubebuilder:validation:Optional
// +optional
WebhookConfig *DeploymentConfig `json:"webhookConfig,omitempty"`
// CAInjectorConfig specifies further customization options for the cainjector's deployment spec.
//
// Possible customizations include the following,
//
// For OverrideArgs,
// --namespace string If set, this limits the scope of cainjector to a single namespace. If set, cainjector
// will not update resources with certificates outside of the configured namespace.
// --v Level number for the log level verbosity
//
// +kubebuilder:validation:Optional
// +optional
CAInjectorConfig *DeploymentConfig `json:"cainjectorConfig,omitempty"`
}
CertManagerSpec defines the desired state of CertManager
func (*CertManagerSpec) DeepCopy ¶
func (in *CertManagerSpec) DeepCopy() *CertManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertManagerSpec.
func (*CertManagerSpec) DeepCopyInto ¶
func (in *CertManagerSpec) DeepCopyInto(out *CertManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertManagerStatus ¶
type CertManagerStatus struct {
apiv1.OperatorStatus `json:",inline"`
}
CertManagerStatus defines the observed state of CertManager
func (*CertManagerStatus) DeepCopy ¶
func (in *CertManagerStatus) DeepCopy() *CertManagerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertManagerStatus.
func (*CertManagerStatus) DeepCopyInto ¶
func (in *CertManagerStatus) DeepCopyInto(out *CertManagerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentConfig ¶
type DeploymentConfig struct {
// +kubebuilder:validation:Optional
// +optional
OverrideArgs []string `json:"overrideArgs,omitempty"`
// +kubebuilder:validation:Optional
// +optional
OverrideEnv []corev1.EnvVar `json:"overrideEnv,omitempty"`
// +kubebuilder:validation:Optional
// +optional
OverrideLabels map[string]string `json:"overrideLabels,omitempty"`
// +kubebuilder:validation:Optional
// +optional
OverrideResources CertManagerResourceRequirements `json:"overrideResources,omitempty"`
}
DeploymentConfig defines the schema for overriding deployment of cert-manager operands, namely the controller, webhook and cainjector.
func (*DeploymentConfig) DeepCopy ¶
func (in *DeploymentConfig) DeepCopy() *DeploymentConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfig.
func (*DeploymentConfig) DeepCopyInto ¶
func (in *DeploymentConfig) DeepCopyInto(out *DeploymentConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UnsupportedConfigOverrides ¶
type UnsupportedConfigOverrides struct {
Controller UnsupportedConfigOverridesForCertManagerController `json:"controller,omitempty"`
Webhook UnsupportedConfigOverridesForCertManagerWebhook `json:"webhook,omitempty"`
CAInjector UnsupportedConfigOverridesForCertManagerCAInjector `json:"cainjector,omitempty"`
}
func (*UnsupportedConfigOverrides) DeepCopy ¶
func (in *UnsupportedConfigOverrides) DeepCopy() *UnsupportedConfigOverrides
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnsupportedConfigOverrides.
func (*UnsupportedConfigOverrides) DeepCopyInto ¶
func (in *UnsupportedConfigOverrides) DeepCopyInto(out *UnsupportedConfigOverrides)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UnsupportedConfigOverridesForCertManagerCAInjector ¶
type UnsupportedConfigOverridesForCertManagerCAInjector struct {
Args []string `json:"args,omitempty"`
}
func (*UnsupportedConfigOverridesForCertManagerCAInjector) DeepCopy ¶
func (in *UnsupportedConfigOverridesForCertManagerCAInjector) DeepCopy() *UnsupportedConfigOverridesForCertManagerCAInjector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnsupportedConfigOverridesForCertManagerCAInjector.
func (*UnsupportedConfigOverridesForCertManagerCAInjector) DeepCopyInto ¶
func (in *UnsupportedConfigOverridesForCertManagerCAInjector) DeepCopyInto(out *UnsupportedConfigOverridesForCertManagerCAInjector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UnsupportedConfigOverridesForCertManagerController ¶
type UnsupportedConfigOverridesForCertManagerController struct {
Args []string `json:"args,omitempty"`
}
func (*UnsupportedConfigOverridesForCertManagerController) DeepCopy ¶
func (in *UnsupportedConfigOverridesForCertManagerController) DeepCopy() *UnsupportedConfigOverridesForCertManagerController
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnsupportedConfigOverridesForCertManagerController.
func (*UnsupportedConfigOverridesForCertManagerController) DeepCopyInto ¶
func (in *UnsupportedConfigOverridesForCertManagerController) DeepCopyInto(out *UnsupportedConfigOverridesForCertManagerController)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UnsupportedConfigOverridesForCertManagerWebhook ¶
type UnsupportedConfigOverridesForCertManagerWebhook struct {
Args []string `json:"args,omitempty"`
}
func (*UnsupportedConfigOverridesForCertManagerWebhook) DeepCopy ¶
func (in *UnsupportedConfigOverridesForCertManagerWebhook) DeepCopy() *UnsupportedConfigOverridesForCertManagerWebhook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnsupportedConfigOverridesForCertManagerWebhook.
func (*UnsupportedConfigOverridesForCertManagerWebhook) DeepCopyInto ¶
func (in *UnsupportedConfigOverridesForCertManagerWebhook) DeepCopyInto(out *UnsupportedConfigOverridesForCertManagerWebhook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.