Documentation ¶
Index ¶
- Constants
- func GetTLSCertificatesSecretName(mondooAuditConfigName string) string
- func WebhookDeployment(ns, image string, m mondoov1alpha2.MondooAuditConfig, ...) *appsv1.Deployment
- func WebhookService(ns string, m mondoov1alpha2.MondooAuditConfig) *corev1.Service
- type CertManagerHandler
- type DeploymentHandler
Constants ¶
View Source
const ( WebhookLabelKey = "control-plane" WebhookLabelValue = "webhook-manager" )
Variables ¶
This section is empty.
Functions ¶
func GetTLSCertificatesSecretName ¶
GetTLSCertificatesSecretName takes the name of a MondooAuditConfig resources and returns the expected Secret name where the TLS certs will be stored.
func WebhookDeployment ¶
func WebhookDeployment(ns, image string, m mondoov1alpha2.MondooAuditConfig, integrationMRN, clusterID string) *appsv1.Deployment
func WebhookService ¶
func WebhookService(ns string, m mondoov1alpha2.MondooAuditConfig) *corev1.Service
Types ¶
type CertManagerHandler ¶
type CertManagerHandler struct { Mondoo *v1alpha2.MondooAuditConfig KubeClient client.Client TargetNamespace string Scheme *runtime.Scheme }
type DeploymentHandler ¶ added in v0.2.8
type DeploymentHandler struct { Mondoo *mondoov1alpha2.MondooAuditConfig KubeClient client.Client TargetNamespace string ContainerImageResolver mondoo.ContainerImageResolver MondooOperatorConfig *mondoov1alpha2.MondooOperatorConfig }
Click to show internal directories.
Click to hide internal directories.