Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfiguration ¶
func LoadConfiguration(config io.Reader) (*shootdnsrewriting.Configuration, error)
LoadConfiguration loads the provided configuration.
func New ¶
func New(commonSuffixes []string) admission.MutationInterface
New creates a new ShootDNSRewriting admission plugin.
Types ¶
type DNSRewriting ¶
DNSRewriting contains required information to process admission requests.
func (*DNSRewriting) Admit ¶
func (c *DNSRewriting) Admit(_ context.Context, a admission.Attributes, _ admission.ObjectInterfaces) error
Admit defaults spec.systemComponents.coreDNS.rewriting.commonSuffixes to the configured values for new shoot clusters.
Click to show internal directories.
Click to hide internal directories.