Documentation ¶
Overview ¶
Package webhook manages the SVID creation and rotation for the k8s-workload-registrar webhook
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SVID ¶
type SVID struct {
// contains filtered or unexported fields
}
func NewSVID ¶
func NewSVID(ctx context.Context, config SVIDConfig) (*SVID, error)
NewSVID creates a new SVID struct and creates the SPIFFE ID that will be used
type SVIDConfig ¶
type SVIDConfig struct { Cluster string Log logrus.FieldLogger Namespace string S svidv1.SVIDClient TrustDomain spiffeid.TrustDomain WebhookCertDir string WebhookServiceName string }
Click to show internal directories.
Click to hide internal directories.