Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultAppNameAnnotationValue = "etcd-server"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFunction ¶
type ConfigFunction struct { cfunc.ConfigFunction `yaml:",inline"` // Data contains various options specific to this config function. Data Options // InitialCluster is used to configure etcd's `initial-cluster` // setting. By default the function detects the number of StatefulSet // replicas from an existing Resource config to generate this value. // // InitialCluster is exposed in the server ConfigMap as // `ETCD_INITIAL_CLUSTER` rather than the function ConfigMap. // // https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/configuration.md#--initial-cluster InitialCluster string // Hostnames are the names of the pods that will be created by the // StatefulSet. It is updated when the StatefulSet's `spec.replicas` // changes. Hostnames []string }
ConfigFunction implements kio.Filter and holds information used in Resource templates.
type Options ¶
type Options struct { // TLSGeneratorJobEnabled creates Jobs which generate TLS assets for // communication with Etcd. TLSGeneratorJobEnabled bool `yaml:"tls_generator_job_enabled"` // TLSServerSecretName is the name of the Secret used to hold Etcd // server TLS assets. TLSServerSecretName string `yaml:"tls_server_secret_name"` // TLSCASecretName is the name of the Secret used to hold Etcd CA TLS // assets. TLSCASecretName string `yaml:"tls_ca_secret_name"` // TLSRootClientSecretName is the name of the Secret used to hold Etcd // root user TLS assets. TLSRootClientSecretName string `yaml:"tls_root_client_secret_name"` }
Options holds settings used in the config function.
Click to show internal directories.
Click to hide internal directories.