Documentation
¶
Index ¶
- Constants
- func GenerateCerts(ctx context.Context, host string) ([]byte, []byte, []byte)
- type Patcher
- func (p *Patcher) CreateSecret(ctx context.Context, secretName, namespace, host string) error
- func (p *Patcher) UpdateMutationCaBundle(ctx context.Context, webhookName, secretName, ns string) error
- func (p *Patcher) UpdateValidationCaBundle(ctx context.Context, webhookName, secretName, ns string) error
Constants ¶
View Source
const ( CertName = "cert" KeyName = "key" ValidatingWebhookName = "gko-validating-webhook-configurations" MutatingWebhookName = "gko-mutating-webhook-configurations" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Patcher ¶
type Patcher struct {
// contains filtered or unexported fields
}
func NewWebhookPatcher ¶
func NewWebhookPatcher() *Patcher
func (*Patcher) CreateSecret ¶
func (*Patcher) UpdateMutationCaBundle ¶
Click to show internal directories.
Click to hide internal directories.