Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { *flags.Flags // Driver are options specific to the driver itself. Driver OptionsDriver // CertManager are options specific to created cert-manager // CertificateRequests. CertManager OptionsCertManager // Volume are options specific to mounted volumes. Volume OptionsVolume }
Options are the CSI Driver flag options.
type OptionsCertManager ¶
type OptionsCertManager struct { // IssuanceConfigMapName is the name of a ConfigMap to watch for configuration options. The ConfigMap is expected to be in the same namespace as the csi-driver-spiffe pod. IssuanceConfigMapName string // IssuanceConfigMapNamespace is the namespace where the runtime configuration ConfigMap is located IssuanceConfigMapNamespace string // TrustDomain is the trust domain of this SPIFFE PKI. The TrustDomain will // appear in signed certificate's URI SANs. TrustDomain string // CertificateRequestAnnotations are annotations that are to be added to certificate requests created by the driver CertificateRequestAnnotations map[string]string // CertificateRequestDuration is the duration CertificateRequests will be // requested with. CertificateRequestDuration time.Duration // IssuerRef is the IssuerRef used when creating CertificateRequests. IssuerRef cmmeta.ObjectReference }
OptionsCertManager is options specific to cert-manager CertificateRequests.
type OptionsDriver ¶
type OptionsDriver struct { // NodeID is the name of the node the driver is running on. NodeID string // DataRoot is the path to the in-memory data directory used to store data. DataRoot string // Endpoint is the endpoint which is used to listen for gRPC requests. Endpoint string }
OptionsDriver are options specific to the CSI driver itself.
type OptionsVolume ¶
type OptionsVolume struct { // CertificateFileName is the name of the file that the signed certificate // will be written to inside the Pod's volume. CertificateFileName string // KeyFileName is the name of the file that the private key will be written // to inside the Pod's volume. // Default to `tls.key` if empty. KeyFileName string // FileName is the name of the file that the root CA certificates will be // written to inside the Pod's volume. Ignored if SourceCABundleFile is not // defined. CAFileName string // SourceCABundleFile is the file path location containing a bundle of PEM // encoded X.509 root CA certificates that will be written to managed volumes // at the CSICAFileName path. No CAs will be written if this is empty. SourceCABundleFile string }
OptionsVolume is options specific to mounted volumes.
Click to show internal directories.
Click to hide internal directories.