Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=certmanager.k8s.io
Index ¶
- Constants
- Variables
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ACMECertificateConfig
- type ACMEChallengeSolver
- type ACMEChallengeSolverDNS01
- type ACMEChallengeSolverHTTP01
- type ACMEChallengeSolverHTTP01Ingress
- type ACMEChallengeSolverHTTP01IngressPodSpec
- type ACMEChallengeSolverHTTP01IngressPodTemplate
- type ACMEIssuer
- type ACMEIssuerDNS01Config
- type ACMEIssuerDNS01Provider
- type ACMEIssuerDNS01ProviderAcmeDNS
- type ACMEIssuerDNS01ProviderAkamai
- type ACMEIssuerDNS01ProviderAzureDNS
- type ACMEIssuerDNS01ProviderCloudDNS
- type ACMEIssuerDNS01ProviderCloudflare
- type ACMEIssuerDNS01ProviderDigitalOcean
- type ACMEIssuerDNS01ProviderRFC2136
- type ACMEIssuerDNS01ProviderRoute53
- type ACMEIssuerDNS01ProviderWebhook
- type ACMEIssuerHTTP01Config
- type ACMEIssuerStatus
- type CAIssuer
- type CNAMEStrategy
- type Certificate
- type CertificateCondition
- type CertificateConditionType
- type CertificateDNSNameSelector
- type CertificateList
- type CertificateRequest
- type CertificateRequestCondition
- type CertificateRequestConditionType
- type CertificateRequestList
- type CertificateRequestSpec
- type CertificateRequestStatus
- type CertificateSpec
- type CertificateStatus
- type Challenge
- type ChallengeList
- type ChallengeSpec
- type ChallengeStatus
- type ClusterIssuer
- func (c *ClusterIssuer) Copy() GenericIssuer
- func (in *ClusterIssuer) DeepCopy() *ClusterIssuer
- func (in *ClusterIssuer) DeepCopyInto(out *ClusterIssuer)
- func (in *ClusterIssuer) DeepCopyObject() runtime.Object
- func (c *ClusterIssuer) GetObjectMeta() *metav1.ObjectMeta
- func (c *ClusterIssuer) GetSpec() *IssuerSpec
- func (c *ClusterIssuer) GetStatus() *IssuerStatus
- func (c *ClusterIssuer) SetSpec(spec IssuerSpec)
- func (c *ClusterIssuer) SetStatus(status IssuerStatus)
- type ClusterIssuerList
- type ConditionStatus
- type DNS01SolverConfig
- type DomainSolverConfig
- type GenericIssuer
- type HTTP01SolverConfig
- type Issuer
- func (c *Issuer) Copy() GenericIssuer
- func (in *Issuer) DeepCopy() *Issuer
- func (in *Issuer) DeepCopyInto(out *Issuer)
- func (in *Issuer) DeepCopyObject() runtime.Object
- func (c *Issuer) GetObjectMeta() *metav1.ObjectMeta
- func (c *Issuer) GetSpec() *IssuerSpec
- func (c *Issuer) GetStatus() *IssuerStatus
- func (c *Issuer) SetSpec(spec IssuerSpec)
- func (c *Issuer) SetStatus(status IssuerStatus)
- type IssuerCondition
- type IssuerConditionType
- type IssuerConfig
- type IssuerList
- type IssuerSpec
- type IssuerStatus
- type KeyAlgorithm
- type KeyEncoding
- type LocalObjectReference
- type ObjectReference
- type Order
- type OrderList
- type OrderSpec
- type OrderStatus
- type SecretKeySelector
- type SelfSignedIssuer
- type SolverConfig
- type State
- type VaultAppRole
- type VaultAuth
- type VaultIssuer
- type VenafiCloud
- type VenafiIssuer
- type VenafiTPP
Constants ¶
const ( // minimum permitted certificate duration by cert-manager MinimumCertificateDuration = time.Hour // default certificate duration if Issuer.spec.duration is not set DefaultCertificateDuration = time.Hour * 24 * 90 // minimum certificate duration before certificate expiration MinimumRenewBefore = time.Minute * 5 // Default duration before certificate expiration if Issuer.spec.renewBefore is not set DefaultRenewBefore = time.Hour * 24 * 30 )
const ( AltNamesAnnotationKey = "certmanager.k8s.io/alt-names" IPSANAnnotationKey = "certmanager.k8s.io/ip-sans" CommonNameAnnotationKey = "certmanager.k8s.io/common-name" IssuerNameAnnotationKey = "certmanager.k8s.io/issuer-name" IssuerKindAnnotationKey = "certmanager.k8s.io/issuer-kind" CertificateNameKey = "certmanager.k8s.io/certificate-name" )
const ( ClusterIssuerKind = "ClusterIssuer" IssuerKind = "Issuer" CertificateKind = "Certificate" CertificateRequestKind = "CertificateRequest" OrderKind = "Order" )
const ( // NoneStrategy indicates that no CNAME resolution strategy should be used // when determining which DNS zone to update during DNS01 challenges. NoneStrategy = "None" // FollowStrategy will cause cert-manager to recurse through CNAMEs in // order to determine which DNS zone to update during DNS01 challenges. // This is useful if you do not want to grant cert-manager access to your // root DNS zone, and instead delegate the _acme-challenge.example.com // subdomain to some other, less privileged domain. FollowStrategy = "Follow" )
const (
ACMEFinalizer = "finalizer.acme.cert-manager.io"
)
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: certmanager.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ACMECertificateConfig ¶
type ACMECertificateConfig struct {
Config []DomainSolverConfig `json:"config"`
}
ACMECertificateConfig contains the configuration for the ACME certificate provider
func (*ACMECertificateConfig) DeepCopy ¶
func (in *ACMECertificateConfig) DeepCopy() *ACMECertificateConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMECertificateConfig.
func (*ACMECertificateConfig) DeepCopyInto ¶
func (in *ACMECertificateConfig) DeepCopyInto(out *ACMECertificateConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEChallengeSolver ¶ added in v0.8.0
type ACMEChallengeSolver struct { // Selector selects a set of DNSNames on the Certificate resource that // should be solved using this challenge solver. Selector *CertificateDNSNameSelector `json:"selector,omitempty"` // +optional HTTP01 *ACMEChallengeSolverHTTP01 `json:"http01,omitempty"` // +optional DNS01 *ACMEChallengeSolverDNS01 `json:"dns01,omitempty"` }
func (*ACMEChallengeSolver) DeepCopy ¶ added in v0.8.0
func (in *ACMEChallengeSolver) DeepCopy() *ACMEChallengeSolver
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEChallengeSolver.
func (*ACMEChallengeSolver) DeepCopyInto ¶ added in v0.8.0
func (in *ACMEChallengeSolver) DeepCopyInto(out *ACMEChallengeSolver)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEChallengeSolverDNS01 ¶ added in v0.8.0
type ACMEChallengeSolverDNS01 struct { // CNAMEStrategy configures how the DNS01 provider should handle CNAME // records when found in DNS zones. // +optional // +kubebuilder:validation:Enum=None,Follow CNAMEStrategy CNAMEStrategy `json:"cnameStrategy,omitempty"` // +optional Akamai *ACMEIssuerDNS01ProviderAkamai `json:"akamai,omitempty"` // +optional CloudDNS *ACMEIssuerDNS01ProviderCloudDNS `json:"clouddns,omitempty"` // +optional Cloudflare *ACMEIssuerDNS01ProviderCloudflare `json:"cloudflare,omitempty"` // +optional Route53 *ACMEIssuerDNS01ProviderRoute53 `json:"route53,omitempty"` // +optional AzureDNS *ACMEIssuerDNS01ProviderAzureDNS `json:"azuredns,omitempty"` // +optional DigitalOcean *ACMEIssuerDNS01ProviderDigitalOcean `json:"digitalocean,omitempty"` // +optional AcmeDNS *ACMEIssuerDNS01ProviderAcmeDNS `json:"acmedns,omitempty"` // +optional RFC2136 *ACMEIssuerDNS01ProviderRFC2136 `json:"rfc2136,omitempty"` // +optional Webhook *ACMEIssuerDNS01ProviderWebhook `json:"webhook,omitempty"` }
func (*ACMEChallengeSolverDNS01) DeepCopy ¶ added in v0.8.0
func (in *ACMEChallengeSolverDNS01) DeepCopy() *ACMEChallengeSolverDNS01
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEChallengeSolverDNS01.
func (*ACMEChallengeSolverDNS01) DeepCopyInto ¶ added in v0.8.0
func (in *ACMEChallengeSolverDNS01) DeepCopyInto(out *ACMEChallengeSolverDNS01)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEChallengeSolverHTTP01 ¶ added in v0.8.0
type ACMEChallengeSolverHTTP01 struct { // The ingress based HTTP01 challenge solver will solve challenges by // creating or modifying Ingress resources in order to route requests for // '/.well-known/acme-challenge/XYZ' to 'challenge solver' pods that are // provisioned by cert-manager for each Challenge to be completed. // +optional Ingress *ACMEChallengeSolverHTTP01Ingress `json:"ingress"` }
ACMEChallengeSolverHTTP01 contains configuration detailing how to solve HTTP01 challenges within a Kubernetes cluster. Typically this is accomplished through creating 'routes' of some description that configure ingress controllers to direct traffic to 'solver pods', which are responsible for responding to the ACME server's HTTP requests.
func (*ACMEChallengeSolverHTTP01) DeepCopy ¶ added in v0.8.0
func (in *ACMEChallengeSolverHTTP01) DeepCopy() *ACMEChallengeSolverHTTP01
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEChallengeSolverHTTP01.
func (*ACMEChallengeSolverHTTP01) DeepCopyInto ¶ added in v0.8.0
func (in *ACMEChallengeSolverHTTP01) DeepCopyInto(out *ACMEChallengeSolverHTTP01)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEChallengeSolverHTTP01Ingress ¶ added in v0.8.0
type ACMEChallengeSolverHTTP01Ingress struct { // Optional service type for Kubernetes solver service // +optional ServiceType corev1.ServiceType `json:"serviceType,omitempty"` // The ingress class to use when creating Ingress resources to solve ACME // challenges that use this challenge solver. // Only one of 'class' or 'name' may be specified. // +optional Class *string `json:"class,omitempty"` // The name of the ingress resource that should have ACME challenge solving // routes inserted into it in order to solve HTTP01 challenges. // This is typically used in conjunction with ingress controllers like // ingress-gce, which maintains a 1:1 mapping between external IPs and // ingress resources. // +optional Name string `json:"name,omitempty"` // Optional pod template used to configure the ACME challenge solver pods // used for HTTP01 challenges // +optional PodTemplate *ACMEChallengeSolverHTTP01IngressPodTemplate `json:"podTemplate,omitempty"` }
func (*ACMEChallengeSolverHTTP01Ingress) DeepCopy ¶ added in v0.8.0
func (in *ACMEChallengeSolverHTTP01Ingress) DeepCopy() *ACMEChallengeSolverHTTP01Ingress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEChallengeSolverHTTP01Ingress.
func (*ACMEChallengeSolverHTTP01Ingress) DeepCopyInto ¶ added in v0.8.0
func (in *ACMEChallengeSolverHTTP01Ingress) DeepCopyInto(out *ACMEChallengeSolverHTTP01Ingress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEChallengeSolverHTTP01IngressPodSpec ¶ added in v0.9.0
type ACMEChallengeSolverHTTP01IngressPodSpec struct { // NodeSelector is a selector which must be true for the pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` // If specified, the pod's scheduling constraints // +optional Affinity *corev1.Affinity `json:"affinity,omitempty"` // If specified, the pod's tolerations. // +optional Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
func (*ACMEChallengeSolverHTTP01IngressPodSpec) DeepCopy ¶ added in v0.9.0
func (in *ACMEChallengeSolverHTTP01IngressPodSpec) DeepCopy() *ACMEChallengeSolverHTTP01IngressPodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEChallengeSolverHTTP01IngressPodSpec.
func (*ACMEChallengeSolverHTTP01IngressPodSpec) DeepCopyInto ¶ added in v0.9.0
func (in *ACMEChallengeSolverHTTP01IngressPodSpec) DeepCopyInto(out *ACMEChallengeSolverHTTP01IngressPodSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEChallengeSolverHTTP01IngressPodTemplate ¶ added in v0.9.0
type ACMEChallengeSolverHTTP01IngressPodTemplate struct { // ObjectMeta overrides for the pod used to solve HTTP01 challenges. // Only the 'labels' and 'annotations' fields may be set. // If labels or annotations overlap with in-built values, the values here // will override the in-built values. // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // PodSpec defines overrides for the HTTP01 challenge solver pod. // Only the 'nodeSelector', 'affinity' and 'tolerations' fields are // supported currently. All other fields will be ignored. // +optional Spec ACMEChallengeSolverHTTP01IngressPodSpec `json:"spec,omitempty"` }
func (*ACMEChallengeSolverHTTP01IngressPodTemplate) DeepCopy ¶ added in v0.9.0
func (in *ACMEChallengeSolverHTTP01IngressPodTemplate) DeepCopy() *ACMEChallengeSolverHTTP01IngressPodTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEChallengeSolverHTTP01IngressPodTemplate.
func (*ACMEChallengeSolverHTTP01IngressPodTemplate) DeepCopyInto ¶ added in v0.9.0
func (in *ACMEChallengeSolverHTTP01IngressPodTemplate) DeepCopyInto(out *ACMEChallengeSolverHTTP01IngressPodTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuer ¶
type ACMEIssuer struct { // Email is the email for this account // +optional Email string `json:"email,omitempty"` // Server is the ACME server URL Server string `json:"server"` // If true, skip verifying the ACME server TLS certificate // +optional SkipTLSVerify bool `json:"skipTLSVerify,omitempty"` // PrivateKey is the name of a secret containing the private key for this // user account. PrivateKey SecretKeySelector `json:"privateKeySecretRef"` // Solvers is a list of challenge solvers that will be used to solve // ACME challenges for the matching domains. // +optional Solvers []ACMEChallengeSolver `json:"solvers,omitempty"` // DEPRECATED: HTTP-01 config // +optional HTTP01 *ACMEIssuerHTTP01Config `json:"http01,omitempty"` // DEPRECATED: DNS-01 config // +optional DNS01 *ACMEIssuerDNS01Config `json:"dns01,omitempty"` }
ACMEIssuer contains the specification for an ACME issuer
func (*ACMEIssuer) DeepCopy ¶
func (in *ACMEIssuer) DeepCopy() *ACMEIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuer.
func (*ACMEIssuer) DeepCopyInto ¶
func (in *ACMEIssuer) DeepCopyInto(out *ACMEIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01Config ¶
type ACMEIssuerDNS01Config struct { // +optional Providers []ACMEIssuerDNS01Provider `json:"providers,omitempty"` }
ACMEIssuerDNS01Config is a structure containing the ACME DNS configuration options
func (*ACMEIssuerDNS01Config) DeepCopy ¶
func (in *ACMEIssuerDNS01Config) DeepCopy() *ACMEIssuerDNS01Config
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01Config.
func (*ACMEIssuerDNS01Config) DeepCopyInto ¶
func (in *ACMEIssuerDNS01Config) DeepCopyInto(out *ACMEIssuerDNS01Config)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ACMEIssuerDNS01Config) Provider ¶
func (a *ACMEIssuerDNS01Config) Provider(name string) (*ACMEIssuerDNS01Provider, error)
type ACMEIssuerDNS01Provider ¶
type ACMEIssuerDNS01Provider struct { // Name is the name of the DNS provider, which should be used to reference // this DNS provider configuration on Certificate resources. Name string `json:"name"` // CNAMEStrategy configures how the DNS01 provider should handle CNAME // records when found in DNS zones. // +optional // +kubebuilder:validation:Enum=None,Follow CNAMEStrategy CNAMEStrategy `json:"cnameStrategy,omitempty"` // +optional Akamai *ACMEIssuerDNS01ProviderAkamai `json:"akamai,omitempty"` // +optional CloudDNS *ACMEIssuerDNS01ProviderCloudDNS `json:"clouddns,omitempty"` // +optional Cloudflare *ACMEIssuerDNS01ProviderCloudflare `json:"cloudflare,omitempty"` // +optional Route53 *ACMEIssuerDNS01ProviderRoute53 `json:"route53,omitempty"` // +optional AzureDNS *ACMEIssuerDNS01ProviderAzureDNS `json:"azuredns,omitempty"` // +optional DigitalOcean *ACMEIssuerDNS01ProviderDigitalOcean `json:"digitalocean,omitempty"` // +optional AcmeDNS *ACMEIssuerDNS01ProviderAcmeDNS `json:"acmedns,omitempty"` // +optional RFC2136 *ACMEIssuerDNS01ProviderRFC2136 `json:"rfc2136,omitempty"` // +optional Webhook *ACMEIssuerDNS01ProviderWebhook `json:"webhook,omitempty"` }
ACMEIssuerDNS01Provider contains configuration for a DNS provider that can be used to solve ACME DNS01 challenges.
func (*ACMEIssuerDNS01Provider) DeepCopy ¶
func (in *ACMEIssuerDNS01Provider) DeepCopy() *ACMEIssuerDNS01Provider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01Provider.
func (*ACMEIssuerDNS01Provider) DeepCopyInto ¶
func (in *ACMEIssuerDNS01Provider) DeepCopyInto(out *ACMEIssuerDNS01Provider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderAcmeDNS ¶
type ACMEIssuerDNS01ProviderAcmeDNS struct { Host string `json:"host"` AccountSecret SecretKeySelector `json:"accountSecretRef"` }
ACMEIssuerDNS01ProviderAcmeDNS is a structure containing the configuration for ACME-DNS servers
func (*ACMEIssuerDNS01ProviderAcmeDNS) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderAcmeDNS) DeepCopy() *ACMEIssuerDNS01ProviderAcmeDNS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderAcmeDNS.
func (*ACMEIssuerDNS01ProviderAcmeDNS) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderAcmeDNS) DeepCopyInto(out *ACMEIssuerDNS01ProviderAcmeDNS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderAkamai ¶
type ACMEIssuerDNS01ProviderAkamai struct { ServiceConsumerDomain string `json:"serviceConsumerDomain"` ClientToken SecretKeySelector `json:"clientTokenSecretRef"` ClientSecret SecretKeySelector `json:"clientSecretSecretRef"` AccessToken SecretKeySelector `json:"accessTokenSecretRef"` }
ACMEIssuerDNS01ProviderAkamai is a structure containing the DNS configuration for Akamai DNS—Zone Record Management API
func (*ACMEIssuerDNS01ProviderAkamai) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderAkamai) DeepCopy() *ACMEIssuerDNS01ProviderAkamai
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderAkamai.
func (*ACMEIssuerDNS01ProviderAkamai) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderAkamai) DeepCopyInto(out *ACMEIssuerDNS01ProviderAkamai)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderAzureDNS ¶
type ACMEIssuerDNS01ProviderAzureDNS struct { ClientID string `json:"clientID"` ClientSecret SecretKeySelector `json:"clientSecretSecretRef"` SubscriptionID string `json:"subscriptionID"` TenantID string `json:"tenantID"` ResourceGroupName string `json:"resourceGroupName"` // +optional HostedZoneName string `json:"hostedZoneName,omitempty"` // +kubebuilder:validation:Enum=,AzurePublicCloud,AzureChinaCloud,AzureGermanCloud,AzureUSGovernmentCloud // +optional Environment string `json:"environment,omitempty"` }
ACMEIssuerDNS01ProviderAzureDNS is a structure containing the configuration for Azure DNS
func (*ACMEIssuerDNS01ProviderAzureDNS) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderAzureDNS) DeepCopy() *ACMEIssuerDNS01ProviderAzureDNS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderAzureDNS.
func (*ACMEIssuerDNS01ProviderAzureDNS) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderAzureDNS) DeepCopyInto(out *ACMEIssuerDNS01ProviderAzureDNS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderCloudDNS ¶
type ACMEIssuerDNS01ProviderCloudDNS struct { ServiceAccount SecretKeySelector `json:"serviceAccountSecretRef"` Project string `json:"project"` }
ACMEIssuerDNS01ProviderCloudDNS is a structure containing the DNS configuration for Google Cloud DNS
func (*ACMEIssuerDNS01ProviderCloudDNS) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderCloudDNS) DeepCopy() *ACMEIssuerDNS01ProviderCloudDNS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderCloudDNS.
func (*ACMEIssuerDNS01ProviderCloudDNS) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderCloudDNS) DeepCopyInto(out *ACMEIssuerDNS01ProviderCloudDNS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderCloudflare ¶
type ACMEIssuerDNS01ProviderCloudflare struct { Email string `json:"email"` APIKey SecretKeySelector `json:"apiKeySecretRef"` }
ACMEIssuerDNS01ProviderCloudflare is a structure containing the DNS configuration for Cloudflare
func (*ACMEIssuerDNS01ProviderCloudflare) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderCloudflare) DeepCopy() *ACMEIssuerDNS01ProviderCloudflare
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderCloudflare.
func (*ACMEIssuerDNS01ProviderCloudflare) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderCloudflare) DeepCopyInto(out *ACMEIssuerDNS01ProviderCloudflare)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderDigitalOcean ¶
type ACMEIssuerDNS01ProviderDigitalOcean struct {
Token SecretKeySelector `json:"tokenSecretRef"`
}
ACMEIssuerDNS01ProviderDigitalOcean is a structure containing the DNS configuration for DigitalOcean Domains
func (*ACMEIssuerDNS01ProviderDigitalOcean) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderDigitalOcean) DeepCopy() *ACMEIssuerDNS01ProviderDigitalOcean
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderDigitalOcean.
func (*ACMEIssuerDNS01ProviderDigitalOcean) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderDigitalOcean) DeepCopyInto(out *ACMEIssuerDNS01ProviderDigitalOcean)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderRFC2136 ¶
type ACMEIssuerDNS01ProviderRFC2136 struct { // The IP address of the DNS supporting RFC2136. Required. // Note: FQDN is not a valid value, only IP. Nameserver string `json:"nameserver"` // The name of the secret containing the TSIG value. // If “tsigKeyName“ is defined, this field is required. // +optional TSIGSecret SecretKeySelector `json:"tsigSecretSecretRef,omitempty"` // The TSIG Key name configured in the DNS. // If “tsigSecretSecretRef“ is defined, this field is required. // +optional TSIGKeyName string `json:"tsigKeyName,omitempty"` // The TSIG Algorithm configured in the DNS supporting RFC2136. Used only // when “tsigSecretSecretRef“ and “tsigKeyName“ are defined. // Supported values are (case-insensitive): “HMACMD5“ (default), // “HMACSHA1“, “HMACSHA256“ or “HMACSHA512“. // +optional TSIGAlgorithm string `json:"tsigAlgorithm,omitempty"` }
ACMEIssuerDNS01ProviderRFC2136 is a structure containing the configuration for RFC2136 DNS
func (*ACMEIssuerDNS01ProviderRFC2136) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderRFC2136) DeepCopy() *ACMEIssuerDNS01ProviderRFC2136
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderRFC2136.
func (*ACMEIssuerDNS01ProviderRFC2136) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderRFC2136) DeepCopyInto(out *ACMEIssuerDNS01ProviderRFC2136)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderRoute53 ¶
type ACMEIssuerDNS01ProviderRoute53 struct { AccessKeyID string `json:"accessKeyID"` SecretAccessKey SecretKeySelector `json:"secretAccessKeySecretRef"` // +optional HostedZoneID string `json:"hostedZoneID,omitempty"` Region string `json:"region"` }
ACMEIssuerDNS01ProviderRoute53 is a structure containing the Route 53 configuration for AWS
func (*ACMEIssuerDNS01ProviderRoute53) DeepCopy ¶
func (in *ACMEIssuerDNS01ProviderRoute53) DeepCopy() *ACMEIssuerDNS01ProviderRoute53
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderRoute53.
func (*ACMEIssuerDNS01ProviderRoute53) DeepCopyInto ¶
func (in *ACMEIssuerDNS01ProviderRoute53) DeepCopyInto(out *ACMEIssuerDNS01ProviderRoute53)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerDNS01ProviderWebhook ¶ added in v0.8.0
type ACMEIssuerDNS01ProviderWebhook struct { // The API group name that should be used when POSTing ChallengePayload // resources to the webhook apiserver. // This should be the same as the GroupName specified in the webhook // provider implementation. GroupName string `json:"groupName"` // The name of the solver to use, as defined in the webhook provider // implementation. // This will typically be the name of the provider, e.g. 'cloudflare'. SolverName string `json:"solverName"` // Additional configuration that should be passed to the webhook apiserver // when challenges are processed. // This can contain arbitrary JSON data. // Secret values should not be specified in this stanza. // If secret values are needed (e.g. credentials for a DNS service), you // should use a SecretKeySelector to reference a Secret resource. // For details on the schema of this field, consult the webhook provider // implementation's documentation. // +optional Config *apiext.JSON `json:"config,omitempty"` }
ACMEIssuerDNS01ProviderWebhook specifies configuration for a webhook DNS01 provider, including where to POST ChallengePayload resources.
func (*ACMEIssuerDNS01ProviderWebhook) DeepCopy ¶ added in v0.8.0
func (in *ACMEIssuerDNS01ProviderWebhook) DeepCopy() *ACMEIssuerDNS01ProviderWebhook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerDNS01ProviderWebhook.
func (*ACMEIssuerDNS01ProviderWebhook) DeepCopyInto ¶ added in v0.8.0
func (in *ACMEIssuerDNS01ProviderWebhook) DeepCopyInto(out *ACMEIssuerDNS01ProviderWebhook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerHTTP01Config ¶
type ACMEIssuerHTTP01Config struct { // Optional service type for Kubernetes solver service // +optional ServiceType corev1.ServiceType `json:"serviceType,omitempty"` }
ACMEIssuerHTTP01Config is a structure containing the ACME HTTP configuration options
func (*ACMEIssuerHTTP01Config) DeepCopy ¶
func (in *ACMEIssuerHTTP01Config) DeepCopy() *ACMEIssuerHTTP01Config
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerHTTP01Config.
func (*ACMEIssuerHTTP01Config) DeepCopyInto ¶
func (in *ACMEIssuerHTTP01Config) DeepCopyInto(out *ACMEIssuerHTTP01Config)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACMEIssuerStatus ¶
type ACMEIssuerStatus struct { // URI is the unique account identifier, which can also be used to retrieve // account details from the CA // +optional URI string `json:"uri,omitempty"` // LastRegisteredEmail is the email associated with the latest registered // ACME account, in order to track changes made to registered account // associated with the Issuer // +optional LastRegisteredEmail string `json:"lastRegisteredEmail,omitempty"` }
func (*ACMEIssuerStatus) DeepCopy ¶
func (in *ACMEIssuerStatus) DeepCopy() *ACMEIssuerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACMEIssuerStatus.
func (*ACMEIssuerStatus) DeepCopyInto ¶
func (in *ACMEIssuerStatus) DeepCopyInto(out *ACMEIssuerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAIssuer ¶
type CAIssuer struct { // SecretName is the name of the secret used to sign Certificates issued // by this Issuer. SecretName string `json:"secretName"` }
func (*CAIssuer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAIssuer.
func (*CAIssuer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CNAMEStrategy ¶ added in v0.6.0
type CNAMEStrategy string
CNAMEStrategy configures how the DNS01 provider should handle CNAME records when found in DNS zones. By default, the None strategy will be applied (i.e. do not follow CNAMEs).
type Certificate ¶
type Certificate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CertificateSpec `json:"spec,omitempty"` Status CertificateStatus `json:"status,omitempty"` }
Certificate is a type to represent a Certificate from ACME +k8s:openapi-gen=true +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=="Ready")].status",description="" +kubebuilder:printcolumn:name="Secret",type="string",JSONPath=".spec.secretName",description="" +kubebuilder:printcolumn:name="Issuer",type="string",JSONPath=".spec.issuerRef.name",description="",priority=1 +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type=="Ready")].message",priority=1 +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC." +kubebuilder:resource:path=certificates,shortName=cert;certs
func (*Certificate) DeepCopy ¶
func (in *Certificate) DeepCopy() *Certificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
func (*Certificate) DeepCopyInto ¶
func (in *Certificate) DeepCopyInto(out *Certificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Certificate) DeepCopyObject ¶
func (in *Certificate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertificateCondition ¶
type CertificateCondition struct { // Type of the condition, currently ('Ready'). Type CertificateConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). // +kubebuilder:validation:Enum=True,False,Unknown Status ConditionStatus `json:"status"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. // +optional LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` // Reason is a brief machine readable explanation for the condition's last // transition. // +optional Reason string `json:"reason,omitempty"` // Message is a human readable description of the details of the last // transition, complementing reason. // +optional Message string `json:"message,omitempty"` }
CertificateCondition contains condition information for an Certificate.
func (*CertificateCondition) DeepCopy ¶
func (in *CertificateCondition) DeepCopy() *CertificateCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateCondition.
func (*CertificateCondition) DeepCopyInto ¶
func (in *CertificateCondition) DeepCopyInto(out *CertificateCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateConditionType ¶
type CertificateConditionType string
CertificateConditionType represents an Certificate condition value.
const ( // CertificateConditionReady indicates that a certificate is ready for use. // This is defined as: // - The target secret exists // - The target secret contains a certificate that has not expired // - The target secret contains a private key valid for the certificate // - The commonName and dnsNames attributes match those specified on the Certificate CertificateConditionReady CertificateConditionType = "Ready" )
type CertificateDNSNameSelector ¶ added in v0.8.0
type CertificateDNSNameSelector struct { // A label selector that is used to refine the set of certificate's that // this challenge solver will apply to. // +optional MatchLabels map[string]string `json:"matchLabels,omitempty"` // List of DNSNames that this solver will be used to solve. // If specified and a match is found, a dnsNames selector will take // precedence over a dnsZones selector. // If multiple solvers match with the same dnsNames value, the solver // with the most matching labels in matchLabels will be selected. // If neither has more matches, the solver defined earlier in the list // will be selected. // +optional DNSNames []string `json:"dnsNames,omitempty"` // List of DNSZones that this solver will be used to solve. // The most specific DNS zone match specified here will take precedence // over other DNS zone matches, so a solver specifying sys.example.com // will be selected over one specifying example.com for the domain // www.sys.example.com. // If multiple solvers match with the same dnsZones value, the solver // with the most matching labels in matchLabels will be selected. // If neither has more matches, the solver defined earlier in the list // will be selected. // +optional DNSZones []string `json:"dnsZones,omitempty"` }
CertificateDomainSelector selects certificates using a label selector, and can optionally select individual DNS names within those certificates. If both MatchLabels and DNSNames are empty, this selector will match all certificates and DNS names within them.
func (*CertificateDNSNameSelector) DeepCopy ¶ added in v0.8.0
func (in *CertificateDNSNameSelector) DeepCopy() *CertificateDNSNameSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateDNSNameSelector.
func (*CertificateDNSNameSelector) DeepCopyInto ¶ added in v0.8.0
func (in *CertificateDNSNameSelector) DeepCopyInto(out *CertificateDNSNameSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateList ¶
type CertificateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Certificate `json:"items"` }
CertificateList is a list of Certificates
func (*CertificateList) DeepCopy ¶
func (in *CertificateList) DeepCopy() *CertificateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateList.
func (*CertificateList) DeepCopyInto ¶
func (in *CertificateList) DeepCopyInto(out *CertificateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertificateList) DeepCopyObject ¶
func (in *CertificateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertificateRequest ¶ added in v0.9.0
type CertificateRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CertificateRequestSpec `json:"spec,omitempty"` Status CertificateRequestStatus `json:"status,omitempty"` }
CertificateRequest is a type to represent a Certificate Signing Request +k8s:openapi-gen=true +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=="Ready")].status",description="" +kubebuilder:printcolumn:name="Issuer",type="string",JSONPath=".spec.issuerRef.name",description="",priority=1 +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type=="Ready")].message",priority=1 +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC." +kubebuilder:resource:path=certificaterequests,shortName=cr;crs
func (*CertificateRequest) DeepCopy ¶ added in v0.9.0
func (in *CertificateRequest) DeepCopy() *CertificateRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRequest.
func (*CertificateRequest) DeepCopyInto ¶ added in v0.9.0
func (in *CertificateRequest) DeepCopyInto(out *CertificateRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertificateRequest) DeepCopyObject ¶ added in v0.9.0
func (in *CertificateRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertificateRequestCondition ¶ added in v0.9.0
type CertificateRequestCondition struct { // Type of the condition, currently ('Ready'). Type CertificateRequestConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). // +kubebuilder:validation:Enum=True,False,Unknown Status ConditionStatus `json:"status"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. // +optional LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` // Reason is a brief machine readable explanation for the condition's last // transition. // +optional Reason string `json:"reason,omitempty"` // Message is a human readable description of the details of the last // transition, complementing reason. // +optional Message string `json:"message,omitempty"` }
CertificateRequestCondition contains condition information for a CertificateRequest.
func (*CertificateRequestCondition) DeepCopy ¶ added in v0.9.0
func (in *CertificateRequestCondition) DeepCopy() *CertificateRequestCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRequestCondition.
func (*CertificateRequestCondition) DeepCopyInto ¶ added in v0.9.0
func (in *CertificateRequestCondition) DeepCopyInto(out *CertificateRequestCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateRequestConditionType ¶ added in v0.9.0
type CertificateRequestConditionType string
CertificateRequestConditionType represents an Certificate condition value.
const ( // CertificateRequestConditionReady indicates that a certificate is ready for use. // This is defined as: // - The target certificate exists in CertificateRequest.Status CertificateRequestConditionReady CertificateRequestConditionType = "Ready" )
type CertificateRequestList ¶ added in v0.9.0
type CertificateRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CertificateRequest `json:"items"` }
CertificateRequestList is a list of Certificates
func (*CertificateRequestList) DeepCopy ¶ added in v0.9.0
func (in *CertificateRequestList) DeepCopy() *CertificateRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRequestList.
func (*CertificateRequestList) DeepCopyInto ¶ added in v0.9.0
func (in *CertificateRequestList) DeepCopyInto(out *CertificateRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertificateRequestList) DeepCopyObject ¶ added in v0.9.0
func (in *CertificateRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertificateRequestSpec ¶ added in v0.9.0
type CertificateRequestSpec struct { // Requested certificate default Duration // +optional Duration *metav1.Duration `json:"duration,omitempty"` // IssuerRef is a reference to the issuer for this CertificateRequest. If // the 'kind' field is not set, or set to 'Issuer', an Issuer resource with // the given name in the same namespace as the CertificateRequest will be // used. If the 'kind' field is set to 'ClusterIssuer', a ClusterIssuer with // the provided name will be used. The 'name' field in this stanza is // required at all times. IssuerRef ObjectReference `json:"issuerRef"` // Byte slice containing the PEM encoded CertificateSigningRequest // +optional CSRPEM []byte `json:"csr,omitempty"` // IsCA will mark the resulting certificate as valid for signing. This // implies that the 'signing' usage is set // +optional IsCA bool `json:"isCA,omitempty"` }
CertificateRequestSpec defines the desired state of CertificateRequest
func (*CertificateRequestSpec) DeepCopy ¶ added in v0.9.0
func (in *CertificateRequestSpec) DeepCopy() *CertificateRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRequestSpec.
func (*CertificateRequestSpec) DeepCopyInto ¶ added in v0.9.0
func (in *CertificateRequestSpec) DeepCopyInto(out *CertificateRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateRequestStatus ¶ added in v0.9.0
type CertificateRequestStatus struct { // +optional Conditions []CertificateRequestCondition `json:"conditions,omitempty"` // Byte slice containing a PEM encoded signed certificate resulting from the // given certificate signing request. // +optional Certificate []byte `json:"certificate,omitempty"` // Byte slice containing the PEM encoded certificate authority of the signed // certificate. // +optional CA []byte `json:"ca,omitempty"` }
CertificateStatus defines the observed state of CertificateRequest and resulting signed certificate.
func (*CertificateRequestStatus) DeepCopy ¶ added in v0.9.0
func (in *CertificateRequestStatus) DeepCopy() *CertificateRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateRequestStatus.
func (*CertificateRequestStatus) DeepCopyInto ¶ added in v0.9.0
func (in *CertificateRequestStatus) DeepCopyInto(out *CertificateRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateSpec ¶
type CertificateSpec struct { // CommonName is a common name to be used on the Certificate. // If no CommonName is given, then the first entry in DNSNames is used as // the CommonName. // The CommonName should have a length of 64 characters or fewer to avoid // generating invalid CSRs; in order to have longer domain names, set the // CommonName (or first DNSNames entry) to have 64 characters or fewer, // and then add the longer domain name to DNSNames. // +optional CommonName string `json:"commonName,omitempty"` // Organization is the organization to be used on the Certificate // +optional Organization []string `json:"organization,omitempty"` // Certificate default Duration // +optional Duration *metav1.Duration `json:"duration,omitempty"` // Certificate renew before expiration duration // +optional RenewBefore *metav1.Duration `json:"renewBefore,omitempty"` // DNSNames is a list of subject alt names to be used on the Certificate. // If no CommonName is given, then the first entry in DNSNames is used as // the CommonName and must have a length of 64 characters or fewer. // +optional DNSNames []string `json:"dnsNames,omitempty"` // IPAddresses is a list of IP addresses to be used on the Certificate // +optional IPAddresses []string `json:"ipAddresses,omitempty"` // SecretName is the name of the secret resource to store this secret in SecretName string `json:"secretName"` // IssuerRef is a reference to the issuer for this certificate. // If the 'kind' field is not set, or set to 'Issuer', an Issuer resource // with the given name in the same namespace as the Certificate will be used. // If the 'kind' field is set to 'ClusterIssuer', a ClusterIssuer with the // provided name will be used. // The 'name' field in this stanza is required at all times. IssuerRef ObjectReference `json:"issuerRef"` // IsCA will mark this Certificate as valid for signing. // This implies that the 'signing' usage is set // +optional IsCA bool `json:"isCA,omitempty"` // ACME contains configuration specific to ACME Certificates. // Notably, this contains details on how the domain names listed on this // Certificate resource should be 'solved', i.e. mapping HTTP01 and DNS01 // providers to DNS names. // +optional ACME *ACMECertificateConfig `json:"acme,omitempty"` // KeySize is the key bit size of the corresponding private key for this certificate. // If provided, value must be between 2048 and 8192 inclusive when KeyAlgorithm is // empty or is set to "rsa", and value must be one of (256, 384, 521) when // KeyAlgorithm is set to "ecdsa". // +optional KeySize int `json:"keySize,omitempty"` // KeyAlgorithm is the private key algorithm of the corresponding private key // for this certificate. If provided, allowed values are either "rsa" or "ecdsa" // If KeyAlgorithm is specified and KeySize is not provided, // key size of 256 will be used for "ecdsa" key algorithm and // key size of 2048 will be used for "rsa" key algorithm. // +kubebuilder:validation:Enum=rsa,ecdsa // +optional KeyAlgorithm KeyAlgorithm `json:"keyAlgorithm,omitempty"` // KeyEncoding is the private key cryptography standards (PKCS) // for this certificate's private key to be encoded in. If provided, allowed // values are "pkcs1" and "pkcs8" standing for PKCS#1 and PKCS#8, respectively. // If KeyEncoding is not specified, then PKCS#1 will be used by default. KeyEncoding KeyEncoding `json:"keyEncoding,omitempty"` }
CertificateSpec defines the desired state of Certificate
func (*CertificateSpec) DeepCopy ¶
func (in *CertificateSpec) DeepCopy() *CertificateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSpec.
func (*CertificateSpec) DeepCopyInto ¶
func (in *CertificateSpec) DeepCopyInto(out *CertificateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateStatus ¶
type CertificateStatus struct { // +optional Conditions []CertificateCondition `json:"conditions,omitempty"` // +optional LastFailureTime *metav1.Time `json:"lastFailureTime,omitempty"` // The expiration time of the certificate stored in the secret named // by this resource in spec.secretName. // +optional NotAfter *metav1.Time `json:"notAfter,omitempty"` }
CertificateStatus defines the observed state of Certificate
func (*CertificateStatus) DeepCopy ¶
func (in *CertificateStatus) DeepCopy() *CertificateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateStatus.
func (*CertificateStatus) DeepCopyInto ¶
func (in *CertificateStatus) DeepCopyInto(out *CertificateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Challenge ¶
type Challenge struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ChallengeSpec `json:"spec"` Status ChallengeStatus `json:"status"` }
Challenge is a type to represent a Challenge request with an ACME server +k8s:openapi-gen=true +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="Domain",type="string",JSONPath=".spec.dnsName" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.reason",description="",priority=1 +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC." +kubebuilder:resource:path=challenges
func (*Challenge) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Challenge.
func (*Challenge) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Challenge) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChallengeList ¶
type ChallengeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Challenge `json:"items"` }
ChallengeList is a list of Challenges
func (*ChallengeList) DeepCopy ¶
func (in *ChallengeList) DeepCopy() *ChallengeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChallengeList.
func (*ChallengeList) DeepCopyInto ¶
func (in *ChallengeList) DeepCopyInto(out *ChallengeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChallengeList) DeepCopyObject ¶
func (in *ChallengeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChallengeSpec ¶
type ChallengeSpec struct { // AuthzURL is the URL to the ACME Authorization resource that this // challenge is a part of. AuthzURL string `json:"authzURL"` // Type is the type of ACME challenge this resource represents, e.g. "dns01" // or "http01" Type string `json:"type"` // URL is the URL of the ACME Challenge resource for this challenge. // This can be used to lookup details about the status of this challenge. URL string `json:"url"` // DNSName is the identifier that this challenge is for, e.g. example.com. DNSName string `json:"dnsName"` // Token is the ACME challenge token for this challenge. Token string `json:"token"` // Key is the ACME challenge key for this challenge Key string `json:"key"` // Wildcard will be true if this challenge is for a wildcard identifier, // for example '*.example.com' // +optional Wildcard bool `json:"wildcard"` // Config specifies the solver configuration for this challenge. // Only **one** of 'config' or 'solver' may be specified, and if both are // specified then no action will be performed on the Challenge resource. // DEPRECATED: the 'solver' field should be specified instead // +optional Config *SolverConfig `json:"config,omitempty"` // Solver contains the domain solving configuration that should be used to // solve this challenge resource. // Only **one** of 'config' or 'solver' may be specified, and if both are // specified then no action will be performed on the Challenge resource. // +optional Solver *ACMEChallengeSolver `json:"solver,omitempty"` // IssuerRef references a properly configured ACME-type Issuer which should // be used to create this Challenge. // If the Issuer does not exist, processing will be retried. // If the Issuer is not an 'ACME' Issuer, an error will be returned and the // Challenge will be marked as failed. IssuerRef ObjectReference `json:"issuerRef"` }
func (*ChallengeSpec) DeepCopy ¶
func (in *ChallengeSpec) DeepCopy() *ChallengeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChallengeSpec.
func (*ChallengeSpec) DeepCopyInto ¶
func (in *ChallengeSpec) DeepCopyInto(out *ChallengeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChallengeStatus ¶
type ChallengeStatus struct { // Processing is used to denote whether this challenge should be processed // or not. // This field will only be set to true by the 'scheduling' component. // It will only be set to false by the 'challenges' controller, after the // challenge has reached a final state or timed out. // If this field is set to false, the challenge controller will not take // any more action. // +optional Processing bool `json:"processing"` // Presented will be set to true if the challenge values for this challenge // are currently 'presented'. // This *does not* imply the self check is passing. Only that the values // have been 'submitted' for the appropriate challenge mechanism (i.e. the // DNS01 TXT record has been presented, or the HTTP01 configuration has been // configured). // +optional Presented bool `json:"presented"` // Reason contains human readable information on why the Challenge is in the // current state. // +optional Reason string `json:"reason"` // State contains the current 'state' of the challenge. // If not set, the state of the challenge is unknown. // +kubebuilder:validation:Enum=,valid,ready,pending,processing,invalid,expired,errored // +optional State State `json:"state,omitempty"` }
func (*ChallengeStatus) DeepCopy ¶
func (in *ChallengeStatus) DeepCopy() *ChallengeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChallengeStatus.
func (*ChallengeStatus) DeepCopyInto ¶
func (in *ChallengeStatus) DeepCopyInto(out *ChallengeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterIssuer ¶
type ClusterIssuer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IssuerSpec `json:"spec,omitempty"` Status IssuerStatus `json:"status,omitempty"` }
+kubebuilder:resource:path=clusterissuers
func (*ClusterIssuer) Copy ¶
func (c *ClusterIssuer) Copy() GenericIssuer
func (*ClusterIssuer) DeepCopy ¶
func (in *ClusterIssuer) DeepCopy() *ClusterIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterIssuer.
func (*ClusterIssuer) DeepCopyInto ¶
func (in *ClusterIssuer) DeepCopyInto(out *ClusterIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterIssuer) DeepCopyObject ¶
func (in *ClusterIssuer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterIssuer) GetObjectMeta ¶
func (c *ClusterIssuer) GetObjectMeta() *metav1.ObjectMeta
func (*ClusterIssuer) GetSpec ¶
func (c *ClusterIssuer) GetSpec() *IssuerSpec
func (*ClusterIssuer) GetStatus ¶
func (c *ClusterIssuer) GetStatus() *IssuerStatus
func (*ClusterIssuer) SetSpec ¶
func (c *ClusterIssuer) SetSpec(spec IssuerSpec)
func (*ClusterIssuer) SetStatus ¶
func (c *ClusterIssuer) SetStatus(status IssuerStatus)
type ClusterIssuerList ¶
type ClusterIssuerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ClusterIssuer `json:"items"` }
ClusterIssuerList is a list of Issuers
func (*ClusterIssuerList) DeepCopy ¶
func (in *ClusterIssuerList) DeepCopy() *ClusterIssuerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterIssuerList.
func (*ClusterIssuerList) DeepCopyInto ¶
func (in *ClusterIssuerList) DeepCopyInto(out *ClusterIssuerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterIssuerList) DeepCopyObject ¶
func (in *ClusterIssuerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus represents a condition's status.
const ( // ConditionTrue represents the fact that a given condition is true ConditionTrue ConditionStatus = "True" // ConditionFalse represents the fact that a given condition is false ConditionFalse ConditionStatus = "False" // ConditionUnknown represents the fact that a given condition is unknown ConditionUnknown ConditionStatus = "Unknown" )
These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.
type DNS01SolverConfig ¶
type DNS01SolverConfig struct { // Provider is the name of the DNS01 challenge provider to use, as configure // on the referenced Issuer or ClusterIssuer resource. Provider string `json:"provider"` }
DNS01SolverConfig contains solver configuration for DNS01 challenges.
func (*DNS01SolverConfig) DeepCopy ¶
func (in *DNS01SolverConfig) DeepCopy() *DNS01SolverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNS01SolverConfig.
func (*DNS01SolverConfig) DeepCopyInto ¶
func (in *DNS01SolverConfig) DeepCopyInto(out *DNS01SolverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainSolverConfig ¶
type DomainSolverConfig struct { // Domains is the list of domains that this SolverConfig applies to. Domains []string `json:"domains"` // SolverConfig contains the actual solver configuration to use for the // provided set of domains. SolverConfig `json:",inline"` }
DomainSolverConfig contains solver configuration for a set of domains.
func ConfigForDomain ¶
func ConfigForDomain(cfgs []DomainSolverConfig, domain string) *DomainSolverConfig
func (*DomainSolverConfig) DeepCopy ¶
func (in *DomainSolverConfig) DeepCopy() *DomainSolverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSolverConfig.
func (*DomainSolverConfig) DeepCopyInto ¶
func (in *DomainSolverConfig) DeepCopyInto(out *DomainSolverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericIssuer ¶
type GenericIssuer interface { runtime.Object metav1.Object GetObjectMeta() *metav1.ObjectMeta GetSpec() *IssuerSpec GetStatus() *IssuerStatus }
type HTTP01SolverConfig ¶
type HTTP01SolverConfig struct { // Ingress is the name of an Ingress resource that will be edited to include // the ACME HTTP01 'well-known' challenge path in order to solve HTTP01 // challenges. // If this field is specified, 'ingressClass' **must not** be specified. // +optional Ingress string `json:"ingress,omitempty"` // IngressClass is the ingress class that should be set on new ingress // resources that are created in order to solve HTTP01 challenges. // This field should be used when using an ingress controller such as nginx, // which 'flattens' ingress configuration instead of maintaining a 1:1 // mapping between loadbalancer IP:ingress resources. // If this field is not set, and 'ingress' is not set, then ingresses // without an ingress class set will be created to solve HTTP01 challenges. // If this field is specified, 'ingress' **must not** be specified. // +optional IngressClass *string `json:"ingressClass,omitempty"` }
HTTP01SolverConfig contains solver configuration for HTTP01 challenges.
func (*HTTP01SolverConfig) DeepCopy ¶
func (in *HTTP01SolverConfig) DeepCopy() *HTTP01SolverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTP01SolverConfig.
func (*HTTP01SolverConfig) DeepCopyInto ¶
func (in *HTTP01SolverConfig) DeepCopyInto(out *HTTP01SolverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Issuer ¶
type Issuer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IssuerSpec `json:"spec,omitempty"` Status IssuerStatus `json:"status,omitempty"` }
+kubebuilder:resource:path=issuers
func (*Issuer) Copy ¶
func (c *Issuer) Copy() GenericIssuer
func (*Issuer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Issuer.
func (*Issuer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Issuer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Issuer) GetObjectMeta ¶
func (c *Issuer) GetObjectMeta() *metav1.ObjectMeta
func (*Issuer) GetSpec ¶
func (c *Issuer) GetSpec() *IssuerSpec
func (*Issuer) GetStatus ¶
func (c *Issuer) GetStatus() *IssuerStatus
func (*Issuer) SetSpec ¶
func (c *Issuer) SetSpec(spec IssuerSpec)
func (*Issuer) SetStatus ¶
func (c *Issuer) SetStatus(status IssuerStatus)
type IssuerCondition ¶
type IssuerCondition struct { // Type of the condition, currently ('Ready'). Type IssuerConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). // +kubebuilder:validation:Enum=True,False,Unknown Status ConditionStatus `json:"status"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. // +optional LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` // Reason is a brief machine readable explanation for the condition's last // transition. // +optional Reason string `json:"reason,omitempty"` // Message is a human readable description of the details of the last // transition, complementing reason. // +optional Message string `json:"message,omitempty"` }
IssuerCondition contains condition information for an Issuer.
func (*IssuerCondition) DeepCopy ¶
func (in *IssuerCondition) DeepCopy() *IssuerCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerCondition.
func (*IssuerCondition) DeepCopyInto ¶
func (in *IssuerCondition) DeepCopyInto(out *IssuerCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IssuerConditionType ¶
type IssuerConditionType string
IssuerConditionType represents an Issuer condition value.
const ( // IssuerConditionReady represents the fact that a given Issuer condition // is in ready state. IssuerConditionReady IssuerConditionType = "Ready" )
type IssuerConfig ¶
type IssuerConfig struct { // +optional ACME *ACMEIssuer `json:"acme,omitempty"` // +optional CA *CAIssuer `json:"ca,omitempty"` // +optional Vault *VaultIssuer `json:"vault,omitempty"` // +optional SelfSigned *SelfSignedIssuer `json:"selfSigned,omitempty"` // +optional Venafi *VenafiIssuer `json:"venafi,omitempty"` }
func (*IssuerConfig) DeepCopy ¶
func (in *IssuerConfig) DeepCopy() *IssuerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerConfig.
func (*IssuerConfig) DeepCopyInto ¶
func (in *IssuerConfig) DeepCopyInto(out *IssuerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IssuerList ¶
type IssuerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Issuer `json:"items"` }
IssuerList is a list of Issuers
func (*IssuerList) DeepCopy ¶
func (in *IssuerList) DeepCopy() *IssuerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerList.
func (*IssuerList) DeepCopyInto ¶
func (in *IssuerList) DeepCopyInto(out *IssuerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IssuerList) DeepCopyObject ¶
func (in *IssuerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IssuerSpec ¶
type IssuerSpec struct {
IssuerConfig `json:",inline"`
}
IssuerSpec is the specification of an Issuer. This includes any configuration required for the issuer.
func (*IssuerSpec) DeepCopy ¶
func (in *IssuerSpec) DeepCopy() *IssuerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerSpec.
func (*IssuerSpec) DeepCopyInto ¶
func (in *IssuerSpec) DeepCopyInto(out *IssuerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IssuerStatus ¶
type IssuerStatus struct { // +optional Conditions []IssuerCondition `json:"conditions,omitempty"` // +optional ACME *ACMEIssuerStatus `json:"acme,omitempty"` }
IssuerStatus contains status information about an Issuer
func (*IssuerStatus) ACMEStatus ¶
func (i *IssuerStatus) ACMEStatus() *ACMEIssuerStatus
TODO: refactor these functions away
func (*IssuerStatus) DeepCopy ¶
func (in *IssuerStatus) DeepCopy() *IssuerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerStatus.
func (*IssuerStatus) DeepCopyInto ¶
func (in *IssuerStatus) DeepCopyInto(out *IssuerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyAlgorithm ¶
type KeyAlgorithm string
const ( RSAKeyAlgorithm KeyAlgorithm = "rsa" ECDSAKeyAlgorithm KeyAlgorithm = "ecdsa" )
type KeyEncoding ¶ added in v0.9.0
type KeyEncoding string
const ( PKCS1 KeyEncoding = "pkcs1" PKCS8 KeyEncoding = "pkcs8" )
type LocalObjectReference ¶
type LocalObjectReference struct { // Name of the referent. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names // TODO: Add other useful fields. apiVersion, kind, uid? Name string `json:"name"` }
func (*LocalObjectReference) DeepCopy ¶
func (in *LocalObjectReference) DeepCopy() *LocalObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference.
func (*LocalObjectReference) DeepCopyInto ¶
func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectReference ¶
type ObjectReference struct { Name string `json:"name"` // +optional Kind string `json:"kind,omitempty"` }
ObjectReference is a reference to an object with a given name and kind.
func (*ObjectReference) DeepCopy ¶
func (in *ObjectReference) DeepCopy() *ObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
func (*ObjectReference) DeepCopyInto ¶
func (in *ObjectReference) DeepCopyInto(out *ObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Order ¶
type Order struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec OrderSpec `json:"spec"` Status OrderStatus `json:"status"` }
Order is a type to represent an Order with an ACME server +k8s:openapi-gen=true +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="Issuer",type="string",JSONPath=".spec.issuerRef.name",description="",priority=1 +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.reason",description="",priority=1 +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC." +kubebuilder:resource:path=orders
func (*Order) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Order.
func (*Order) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Order) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OrderList ¶
type OrderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Order `json:"items"` }
OrderList is a list of Orders
func (*OrderList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrderList.
func (*OrderList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrderList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OrderSpec ¶
type OrderSpec struct { // Certificate signing request bytes in DER encoding. // This will be used when finalizing the order. // This field must be set on the order. CSR []byte `json:"csr"` // IssuerRef references a properly configured ACME-type Issuer which should // be used to create this Order. // If the Issuer does not exist, processing will be retried. // If the Issuer is not an 'ACME' Issuer, an error will be returned and the // Order will be marked as failed. IssuerRef ObjectReference `json:"issuerRef"` // CommonName is the common name as specified on the DER encoded CSR. // If CommonName is not specified, the first DNSName specified will be used // as the CommonName. // At least one of CommonName or a DNSNames must be set. // This field must match the corresponding field on the DER encoded CSR. // +optional CommonName string `json:"commonName,omitempty"` // DNSNames is a list of DNS names that should be included as part of the Order // validation process. // If CommonName is not specified, the first DNSName specified will be used // as the CommonName. // At least one of CommonName or a DNSNames must be set. // This field must match the corresponding field on the DER encoded CSR. // +optional DNSNames []string `json:"dnsNames,omitempty"` // Config specifies a mapping from DNS identifiers to how those identifiers // should be solved when performing ACME challenges. // A config entry must exist for each domain listed in DNSNames and CommonName. // Only **one** of 'config' or 'solvers' may be specified, and if both are // specified then no action will be performed on the Order resource. // // This field will be removed when support for solver config specified on // the Certificate under certificate.spec.acme has been removed. // DEPRECATED: this field will be removed in future. Solver configuration // must instead be provided on ACME Issuer resources. // +optional Config []DomainSolverConfig `json:"config,omitempty"` }
func (*OrderSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrderSpec.
func (*OrderSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrderStatus ¶
type OrderStatus struct { // URL of the Order. // This will initially be empty when the resource is first created. // The Order controller will populate this field when the Order is first processed. // This field will be immutable after it is initially set. // +optional URL string `json:"url,omitempty"` // FinalizeURL of the Order. // This is used to obtain certificates for this order once it has been completed. // +optional FinalizeURL string `json:"finalizeURL,omitempty"` // Certificate is a copy of the PEM encoded certificate for this Order. // This field will be populated after the order has been successfully // finalized with the ACME server, and the order has transitioned to the // 'valid' state. // +optional Certificate []byte `json:"certificate,omitempty"` // State contains the current state of this Order resource. // States 'success' and 'expired' are 'final' // +kubebuilder:validation:Enum=,valid,ready,pending,processing,invalid,expired,errored // +optional State State `json:"state,omitempty"` // Reason optionally provides more information about a why the order is in // the current state. // +optional Reason string `json:"reason,omitempty"` // Challenges is a list of ChallengeSpecs for Challenges that must be created // in order to complete this Order. // +optional Challenges []ChallengeSpec `json:"challenges,omitempty"` // FailureTime stores the time that this order failed. // This is used to influence garbage collection and back-off. // +optional FailureTime *metav1.Time `json:"failureTime,omitempty"` }
func (*OrderStatus) DeepCopy ¶
func (in *OrderStatus) DeepCopy() *OrderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrderStatus.
func (*OrderStatus) DeepCopyInto ¶
func (in *OrderStatus) DeepCopyInto(out *OrderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretKeySelector ¶
type SecretKeySelector struct { // The name of the secret in the pod's namespace to select from. LocalObjectReference `json:",inline"` // The key of the secret to select from. Must be a valid secret key. // +optional Key string `json:"key,omitempty"` }
func (*SecretKeySelector) DeepCopy ¶
func (in *SecretKeySelector) DeepCopy() *SecretKeySelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector.
func (*SecretKeySelector) DeepCopyInto ¶
func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelfSignedIssuer ¶
type SelfSignedIssuer struct{}
func (*SelfSignedIssuer) DeepCopy ¶
func (in *SelfSignedIssuer) DeepCopy() *SelfSignedIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSignedIssuer.
func (*SelfSignedIssuer) DeepCopyInto ¶
func (in *SelfSignedIssuer) DeepCopyInto(out *SelfSignedIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SolverConfig ¶
type SolverConfig struct { // HTTP01 contains HTTP01 challenge solving configuration // +optional HTTP01 *HTTP01SolverConfig `json:"http01,omitempty"` // DNS01 contains DNS01 challenge solving configuration // +optional DNS01 *DNS01SolverConfig `json:"dns01,omitempty"` }
SolverConfig is a container type holding the configuration for either a HTTP01 or DNS01 challenge. Only one of HTTP01 or DNS01 should be non-nil.
func (*SolverConfig) DeepCopy ¶
func (in *SolverConfig) DeepCopy() *SolverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolverConfig.
func (*SolverConfig) DeepCopyInto ¶
func (in *SolverConfig) DeepCopyInto(out *SolverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type State ¶
type State string
State represents the state of an ACME resource, such as an Order. The possible options here map to the corresponding values in the ACME specification. Full details of these values can be found here: https://tools.ietf.org/html/draft-ietf-acme-acme-15#section-7.1.6 Clients utilising this type must also gracefully handle unknown values, as the contents of this enumeration may be added to over time.
const ( // Unknown is not a real state as part of the ACME spec. // It is used to represent an unrecognised value. Unknown State = "" // Valid signifies that an ACME resource is in a valid state. // If an order is 'valid', it has been finalized with the ACME server and // the certificate can be retrieved from the ACME server using the // certificate URL stored in the Order's status subresource. // This is a final state. Valid State = "valid" // Ready signifies that an ACME resource is in a ready state. // If an order is 'ready', all of its challenges have been completed // successfully and the order is ready to be finalized. // Once finalized, it will transition to the Valid state. // This is a transient state. Ready State = "ready" // Pending signifies that an ACME resource is still pending and is not yet ready. // If an Order is marked 'Pending', the validations for that Order are still in progress. // This is a transient state. Pending State = "pending" // Processing signifies that an ACME resource is being processed by the server. // If an Order is marked 'Processing', the validations for that Order are currently being processed. // This is a transient state. Processing State = "processing" // Invalid signifies that an ACME resource is invalid for some reason. // If an Order is marked 'invalid', one of its validations be have invalid for some reason. // This is a final state. Invalid State = "invalid" // Expired signifies that an ACME resource has expired. // If an Order is marked 'Expired', one of its validations may have expired or the Order itself. // This is a final state. Expired State = "expired" // Errored signifies that the ACME resource has errored for some reason. // This is a catch-all state, and is used for marking internal cert-manager // errors such as validation failures. // This is a final state. Errored State = "errored" )
type VaultAppRole ¶
type VaultAppRole struct { // Where the authentication path is mounted in Vault. Path string `json:"path"` RoleId string `json:"roleId"` SecretRef SecretKeySelector `json:"secretRef"` }
func (*VaultAppRole) DeepCopy ¶
func (in *VaultAppRole) DeepCopy() *VaultAppRole
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAppRole.
func (*VaultAppRole) DeepCopyInto ¶
func (in *VaultAppRole) DeepCopyInto(out *VaultAppRole)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VaultAuth ¶
type VaultAuth struct { // This Secret contains the Vault token key // +optional TokenSecretRef SecretKeySelector `json:"tokenSecretRef,omitempty"` // This Secret contains a AppRole and Secret // +optional AppRole VaultAppRole `json:"appRole,omitempty"` }
Vault authentication can be configured:
- With a secret containing a token. Cert-manager is using this token as-is.
- With a secret containing a AppRole. This AppRole is used to authenticate to Vault and retrieve a token.
func (*VaultAuth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAuth.
func (*VaultAuth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VaultIssuer ¶
type VaultIssuer struct { // Vault authentication Auth VaultAuth `json:"auth"` // Server is the vault connection address Server string `json:"server"` // Vault URL path to the certificate role Path string `json:"path"` // Base64 encoded CA bundle to validate Vault server certificate. Only used // if the Server URL is using HTTPS protocol. This parameter is ignored for // plain HTTP protocol connection. If not set the system root certificates // are used to validate the TLS connection. // +optional CABundle []byte `json:"caBundle,omitempty"` }
func (*VaultIssuer) DeepCopy ¶
func (in *VaultIssuer) DeepCopy() *VaultIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultIssuer.
func (*VaultIssuer) DeepCopyInto ¶
func (in *VaultIssuer) DeepCopyInto(out *VaultIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VenafiCloud ¶ added in v0.7.0
type VenafiCloud struct { // URL is the base URL for Venafi Cloud URL string `json:"url"` // APITokenSecretRef is a secret key selector for the Venafi Cloud API token. APITokenSecretRef SecretKeySelector `json:"apiTokenSecretRef"` }
VenafiCloud defines connection configuration details for Venafi Cloud
func (*VenafiCloud) DeepCopy ¶ added in v0.7.0
func (in *VenafiCloud) DeepCopy() *VenafiCloud
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VenafiCloud.
func (*VenafiCloud) DeepCopyInto ¶ added in v0.7.0
func (in *VenafiCloud) DeepCopyInto(out *VenafiCloud)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VenafiIssuer ¶ added in v0.7.0
type VenafiIssuer struct { // Zone is the Venafi Policy Zone to use for this issuer. // All requests made to the Venafi platform will be restricted by the named // zone policy. // This field is required. Zone string `json:"zone"` // TPP specifies Trust Protection Platform configuration settings. // Only one of TPP or Cloud may be specified. // +optional TPP *VenafiTPP `json:"tpp,omitempty"` // Cloud specifies the Venafi cloud configuration settings. // Only one of TPP or Cloud may be specified. // +optional Cloud *VenafiCloud `json:"cloud,omitempty"` }
VenafiIssuer describes issuer configuration details for Venafi Cloud.
func (*VenafiIssuer) DeepCopy ¶ added in v0.7.0
func (in *VenafiIssuer) DeepCopy() *VenafiIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VenafiIssuer.
func (*VenafiIssuer) DeepCopyInto ¶ added in v0.7.0
func (in *VenafiIssuer) DeepCopyInto(out *VenafiIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VenafiTPP ¶ added in v0.7.0
type VenafiTPP struct { // URL is the base URL for the Venafi TPP instance URL string `json:"url"` // CredentialsRef is a reference to a Secret containing the username and // password for the TPP server. // The secret must contain two keys, 'username' and 'password'. CredentialsRef LocalObjectReference `json:"credentialsRef"` // CABundle is a PEM encoded TLS certifiate to use to verify connections to // the TPP instance. // If specified, system roots will not be used and the issuing CA for the // TPP instance must be verifiable using the provided root. // If not specified, the connection will be verified using the cert-manager // system root certificates. // +optional CABundle []byte `json:"caBundle,omitempty"` }
VenafiTPP defines connection configuration details for a Venafi TPP instance
func (*VenafiTPP) DeepCopy ¶ added in v0.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VenafiTPP.
func (*VenafiTPP) DeepCopyInto ¶ added in v0.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.