|
| 1 | +# Mondoo Operator Helm Chart |
| 2 | + |
| 3 | +The Mondoo Operator provides a Kubernetes-native way to deploy and manage [Mondoo](https://mondoo.com) security scanning in your clusters. |
| 4 | + |
| 5 | +## Prerequisites |
| 6 | + |
| 7 | +- Kubernetes 1.26+ |
| 8 | +- Helm 3.x |
| 9 | + |
| 10 | +## Installation |
| 11 | + |
| 12 | +### Add the Helm repository |
| 13 | + |
| 14 | +```bash |
| 15 | +helm repo add mondoo https://mondoohq.github.io/mondoo-operator |
| 16 | +helm repo update |
| 17 | +``` |
| 18 | + |
| 19 | +### Install the chart |
| 20 | + |
| 21 | +```bash |
| 22 | +helm install mondoo-operator mondoo/mondoo-operator --namespace mondoo-operator --create-namespace |
| 23 | +``` |
| 24 | + |
| 25 | +### Uninstall the chart |
| 26 | + |
| 27 | +```bash |
| 28 | +helm uninstall mondoo-operator --namespace mondoo-operator |
| 29 | +``` |
| 30 | + |
| 31 | +## Parameters |
| 32 | + |
| 33 | +### Controller Manager Configuration |
| 34 | + |
| 35 | +| Name | Description | Value | |
| 36 | +| ---------------------------------------------------- | --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | |
| 37 | +| `controllerManager.manager.args` | Command-line arguments passed to the operator manager container | `["operator","--health-probe-bind-address=:8081","--metrics-bind-address=:8080","--leader-elect"]` | |
| 38 | +| `controllerManager.manager.containerSecurityContext` | Security context for the manager container | `{}` | |
| 39 | +| `controllerManager.manager.image.repository` | Container image repository for the operator | `ghcr.io/mondoohq/mondoo-operator` | |
| 40 | +| `controllerManager.manager.image.tag` | Container image tag for the operator | `v12.0.1` | |
| 41 | +| `controllerManager.manager.imagePullPolicy` | Image pull policy for the operator container | `IfNotPresent` | |
| 42 | +| `controllerManager.manager.resources` | Resource requests and limits for the manager container | `{}` | |
| 43 | +| `controllerManager.podSecurityContext` | Pod-level security context for the controller manager | `{}` | |
| 44 | +| `controllerManager.replicas` | Number of controller manager replicas | `1` | |
| 45 | +| `controllerManager.serviceAccount.annotations` | Annotations to add to the controller manager service account | `{}` | |
| 46 | + |
| 47 | +### Kubernetes Resources Scanning Configuration |
| 48 | + |
| 49 | +| Name | Description | Value | |
| 50 | +| ------------------------------------------------- | ----------------------------------------------------------------------- | ----- | |
| 51 | +| `k8SResourcesScanning.serviceAccount.annotations` | Annotations to add to the Kubernetes resources scanning service account | `{}` | |
| 52 | + |
| 53 | +### General Configuration |
| 54 | + |
| 55 | +| Name | Description | Value | |
| 56 | +| ------------------------- | -------------------------------------- | --------------- | |
| 57 | +| `kubernetesClusterDomain` | Kubernetes cluster domain used for DNS | `cluster.local` | |
| 58 | + |
| 59 | +### Manager Config |
| 60 | + |
| 61 | +| Name | Description | Value | |
| 62 | +| ------------------------------------------- | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 63 | +| `managerConfig.controllerManagerConfigYaml` | Embedded YAML configuration for the controller manager | `# Copyright (c) Mondoo, Inc. |
| 64 | +# SPDX-License-Identifier: BUSL-1.1 |
| 65 | +apiVersion: controller-runtime.sigs.k8s.io/v1alpha1 |
| 66 | +kind: ControllerManagerConfig |
| 67 | +health: |
| 68 | + healthProbeBindAddress: :8081 |
| 69 | +metrics: |
| 70 | + bindAddress: 127.0.0.1:8080 |
| 71 | +leaderElection: |
| 72 | + leaderElect: true |
| 73 | + resourceName: 60679458.mondoo.com` | |
| 74 | + |
| 75 | +### Metrics Service Configuration |
| 76 | + |
| 77 | +| Name | Description | Value | |
| 78 | +| ---------------------- | ----------------------------------------------- | ----------- | |
| 79 | +| `metricsService.ports` | Ports configuration for the metrics service | `[]` | |
| 80 | +| `metricsService.type` | Kubernetes service type for the metrics service | `ClusterIP` | |
| 81 | + |
| 82 | +### Pre-delete Cleanup Hook Configuration |
| 83 | + |
| 84 | +| Name | Description | Value | |
| 85 | +| ----------------- | ----------------------------------------------------------------- | ------ | |
| 86 | +| `cleanup.enabled` | Enable or disable the pre-delete cleanup hook | `true` | |
| 87 | +| `cleanup.timeout` | Timeout for waiting for MondooAuditConfig resources to be deleted | `2m` | |
| 88 | + |
0 commit comments