Versions in this module Expand all Collapse all v0 v0.0.8 Oct 11, 2023 Changes in this version + func CertAsSecret(cert, key []byte, name, namespace string) *corev1.Secret + func GenerateCertificate(service, namespace string) ([]byte, []byte, error) + func GetCertificate(name, namespace string) ([]byte, error) + func NewCRD() string + func NewClusterRole() *rbacv1.ClusterRole + func NewClusterRolebinding(namespace string) *rbacv1.ClusterRoleBinding + func NewDeployment(name, namespace, registry, serverType, secretName string, port int, ...) *appsv1.Deployment + func NewSA(namespace string) *corev1.ServiceAccount + func NewService(name, namespace string, port int) *corev1.Service + type Deployment struct + Name string + Namespace string + Port int + Registry string + SecretName string + ServerType string + Version string + type MutatingServer struct + Config *admissionv1.MutatingWebhookConfiguration + func NewMutatingWebhookServer() *MutatingServer + func (m *MutatingServer) MutatingWebhook(port int, cert []byte) *MutatingServer + func (m *MutatingServer) NamespacedName(name, namespace string) *MutatingServer + func (m *MutatingServer) Rules() *MutatingServer + type ValidatingServer struct + Config *admissionv1.ValidatingWebhookConfiguration + func NewValidatingWebhookServer() *ValidatingServer + func (v *ValidatingServer) NamespacedName(name, namespace string) *ValidatingServer + func (v *ValidatingServer) Rules() *ValidatingServer + func (v *ValidatingServer) ValidatingWebhook(port int, cert []byte) *ValidatingServer