common.k8s.elastic.co/v1beta1edit

Package v1beta1 contains API schema definitions for common types used by all resources.

Configedit

Config represents untyped YAML configuration.

HTTPConfigedit

HTTPConfig holds the HTTP layer configuration for resources.

Field Description

service ServiceTemplate

Service defines the template for the associated Kubernetes Service object.

tls TLSOptions

TLS defines options for configuring TLS for HTTP.

KeyToPathedit

KeyToPath defines how to map a key in a Secret object to a filesystem path.

Field Description

key string

Key is the key contained in the secret.

path string

Path is the relative file path to map the key to. Path must not be an absolute file path and must not contain any ".." components.

ObjectSelectoredit

ObjectSelector defines a reference to a Kubernetes object.

Field Description

name string

Name of the Kubernetes object.

namespace string

Namespace of the Kubernetes object. If empty, defaults to the current namespace.

PodDisruptionBudgetTemplateedit

PodDisruptionBudgetTemplate defines the template for creating a PodDisruptionBudget.

Field Description

metadata ObjectMeta

Refer to Kubernetes API documentation for fields of metadata.

spec PodDisruptionBudgetSpec

Spec is the specification of the PDB.

SecretRefedit

SecretRef is a reference to a secret that exists in the same namespace.

Field Description

secretName string

SecretName is the name of the secret.

SecretSourceedit

SecretSource defines a data source based on a Kubernetes Secret.

Field Description

secretName string

SecretName is the name of the secret.

entries KeyToPath array

Entries define how to project each key-value pair in the secret to filesystem paths. If not defined, all keys will be projected to similarly named paths in the filesystem. If defined, only the specified keys will be projected to the corresponding paths.

SelfSignedCertificateedit

SelfSignedCertificate holds configuration for the self-signed certificate generated by the operator.

Field Description

subjectAltNames SubjectAlternativeName array

SubjectAlternativeNames is a list of SANs to include in the generated HTTP TLS certificate.

disabled boolean

Disabled indicates that the provisioning of the self-signed certifcate should be disabled.

ServiceTemplateedit

ServiceTemplate defines the template for a Kubernetes Service.

Field Description

metadata ObjectMeta

Refer to Kubernetes API documentation for fields of metadata.

spec ServiceSpec

Spec is the specification of the service.

SubjectAlternativeNameedit

SubjectAlternativeName represents a SAN entry in a x509 certificate.

Field Description

dns string

DNS is the DNS name of the subject.

ip string

IP is the IP address of the subject.

TLSOptionsedit

TLSOptions holds TLS configuration options.

Field Description

selfSignedCertificate SelfSignedCertificate

SelfSignedCertificate allows configuring the self-signed certificate generated by the operator.

certificate SecretRef

Certificate is a reference to a Kubernetes secret that contains the certificate and private key for enabling TLS. The referenced secret should contain the following:

  • ca.crt: The certificate authority (optional).
  • tls.crt: The certificate (or a chain).
  • tls.key: The private key to the first certificate in the certificate chain.