Versions in this module Expand all Collapse all v0 v0.0.9 Dec 16, 2023 Changes in this version type Deployment + CmsnrTag string + OpaTag string v0.0.8 Nov 11, 2022 v0.0.7 Nov 9, 2022 Changes in this version type Deployment + Registry string v0.0.6 May 26, 2022 Changes in this version type Deployment + Version string v0.0.5 May 7, 2022 v0.0.4 Mar 5, 2022 v0.0.3 Mar 4, 2022 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, 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 + SecretName string + ServerType 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