bind

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTTL = 300

DefaultTTL represents the default TTL value to set for new records, unless specified in the configuration

Variables

View Source
var ErrNoAllowedZonesConfigured = errors.New("no allowed zones configured")

ErrNoAllowedZonesConfigured is returned when the solver was not configured with a list of allowed zones.

View Source
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 NewSolver

func NewSolver() *BindProviderSolver

NewSolver creates a new BIND9 DNS-01 solver

func (*BindProviderSolver) CleanUp

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

Present implements the webhook.Solver interface by creating the respective TXT records

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL