app

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceName = "nebula-certificate-generator"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CertGenerator

type CertGenerator struct {
	// LeaderElection defines the configuration of leader election client.
	LeaderElection cbc.LeaderElectionConfiguration

	// WebhookNames represents the names of the webhooks in the webhook server (i.e. controller-manager-nebula-operator-webhook, autoscaler-nebula-operator-webhook)
	WebhookNames *[]string

	// WebhookServerName represents the name of the webhook server associated with the certificate.
	WebhookServerName string

	// WebhookNamespace represents the namespace of the webhook server associated with the certificate.
	WebhookNamespace string

	// CertDir represents the directory to save the certificates in
	CertDir string

	// CertValidity represents the duration the certificate should be valid for
	CertValidity string

	// SecretName represents the name of the secret used to store the webhook certificates
	SecretName string

	// SecretNamespace represents the namespace of the secret used to store the webhook certificates
	SecretNamespace string

	// KubernetesDomain represents the custom kubernetes domain needed in the certificate
	KubernetesDomain string
}

func (*CertGenerator) Run

func (c *CertGenerator) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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