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 // CertManager are options specific to created cert-manager // CertificateRequests. CertManager OptionsCertManager // Controller are options specific to the controller. Controller OptionsController }
Options are the CSI Approver flag options.
type OptionsCertManager ¶
type OptionsCertManager struct { // TrustDomain is the Trust Domain the evaluator will enforce requests request // for. TrustDomain string // CertificateRequestDuration is the duration the evaluator will enforce // CertificateRequest request for. CertificateRequestDuration time.Duration // IssuerRef is the issuer reference that will be used to match on created // CertificateRequests. IssuerRef cmmeta.ObjectReference // Multi-tenancy is the flag to enable strict multi-tenancy support where // namespace name has to match with the domain name. MultiTenancy bool }
OptionsCertManager are options specific to cert-manager and the evaluator.
type OptionsController ¶
type OptionsController struct { // ReadyzAddress is the TCP address for exposing the HTTP readiness probe // which will be served on the HTTP path '/readyz'. ReadyzAddress string // MetricsAddress is the TCP address for exposing HTTP Prometheus metrics // which will be served on the HTTP path '/metrics'. The value "0" will // disable exposing metrics. MetricsAddress string // LeaderElectionNamespace is the namespace that the approver controller will // lease election in. LeaderElectionNamespace string }
OptionsController are options specific to the Kubernetes controller.
Click to show internal directories.
Click to hide internal directories.