Documentation
¶
Index ¶
Constants ¶
const DefaultTTL = 300
DefaultTTL represents the default TTL value to set for new records, unless specified in the configuration
Variables ¶
var ErrNoAllowedZonesConfigured = errors.New("no allowed zones configured")
ErrNoAllowedZonesConfigured is returned when the solver was not configured with a list of allowed zones.
var ErrNoTSIGKeyConfigured = errors.New("no TSIG key configured")
ErrNoTSIGKeyConfigured is returned when the solver was not configured with a TSIG key.
Functions ¶
This section is empty.
Types ¶
type BindProviderConfig ¶
type BindProviderConfig struct {
// TSIGKeyRef is the shared TSIG key used to dynamically
// update the DNS records.
TSIGKeyRef cmmeta.SecretKeySelector `json:"tsigKeyRef"`
// TTL is the time-to-live to set on the newly created TXT
// records
TTL int `json:"ttl"`
// AllowedZones is the list of zones that the solver is
// allowed to manage
AllowedZones []string `json:"allowedZones"`
// contains filtered or unexported fields
}
bindProviderConfig represents the configuration for the BIND solver.
type BindProviderSolver ¶
type BindProviderSolver struct {
// The helper script we use to create and delete the ACME
// Challenge TXT records.
AcmeHelperScript string
// contains filtered or unexported fields
}
BindSolver implements the webhook.Solver interface
func (*BindProviderSolver) CleanUp ¶
func (b *BindProviderSolver) CleanUp(ch *v1alpha1.ChallengeRequest) error
CleanUp implements the webhook.Solver interface and deletes the respective TXT records
func (*BindProviderSolver) Initialize ¶
func (b *BindProviderSolver) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error
Initialize initializes the BIND solver
func (*BindProviderSolver) Name ¶
func (b *BindProviderSolver) Name() string
Name implements the webhook.Solver interface
func (*BindProviderSolver) Present ¶
func (b *BindProviderSolver) Present(ch *v1alpha1.ChallengeRequest) error
Present implements the webhook.Solver interface by creating the respective TXT records