|
| 1 | +# kube-audit-rest |
| 2 | + |
| 3 | +   |
| 4 | + |
| 5 | +A Helm chart for Kube Audit REST - a simple logger of mutation/creation requests to the k8s API |
| 6 | + |
| 7 | +## Values |
| 8 | + |
| 9 | +| Key | Type | Default | Description | |
| 10 | +|-----|------|---------|-------------| |
| 11 | +| args | list | `["--logger-filename=/dev/stdout"]` | kube-audit-rest binary args | |
| 12 | +| automountServiceAccountToken | bool | `false` | | |
| 13 | +| image.pullPolicy | string | `"IfNotPresent"` | | |
| 14 | +| image.repository | string | `"ghcr.io/richardoc/kube-audit-rest"` | | |
| 15 | +| image.tag | string | `"1.0.26-distroless"` | | |
| 16 | +| metricsPort | int | `55555` | Prometheus metrics port | |
| 17 | +| podSecurityContext.fsGroup | int | `255999` | | |
| 18 | +| podSecurityContext.runAsGroup | int | `255999` | | |
| 19 | +| podSecurityContext.runAsUser | int | `255999` | | |
| 20 | +| replicas | int | `1` | | |
| 21 | +| resources.limits.cpu | string | `"1"` | | |
| 22 | +| resources.limits.memory | string | `"32Mi"` | | |
| 23 | +| resources.requests.cpu | string | `"2m"` | | |
| 24 | +| resources.requests.memory | string | `"10Mi"` | | |
| 25 | +| securityContext.allowPrivilegeEscalation | bool | `false` | | |
| 26 | +| securityContext.capabilities.drop[0] | string | `"ALL"` | | |
| 27 | +| securityContext.readOnlyRootFilesystem | bool | `true` | | |
| 28 | +| serverPort | int | `9090` | HTTPS server port | |
| 29 | +| service.port | int | `443` | | |
| 30 | +| service.type | string | `"ClusterIP"` | | |
| 31 | +| tls | object | `{"certManager":{"enabled":true,"issuerRef":{"kind":"Issuer","name":"selfsigned-issuer"}},"duration":"8760h","renewBefore":"720h"}` | TLS certificate configuration kube-audit-rest requires TLS for the webhook | |
| 32 | +| tls.certManager | object | `{"enabled":true,"issuerRef":{"kind":"Issuer","name":"selfsigned-issuer"}}` | Use cert-manager to generate certificates | |
| 33 | +| tls.duration | string | `"8760h"` | Certificate duration (e.g. 8760h = 1 year) | |
| 34 | +| tls.renewBefore | string | `"720h"` | Certificate renew before expiry | |
| 35 | +| tmpSizeLimit | string | `"2Gi"` | Volume size limit for audit log tmp storage | |
| 36 | +| webhook | object | `{"failurePolicy":"Ignore","rules":[{"apiGroups":["*"],"apiVersions":["*"],"operations":["CREATE","UPDATE","DELETE"],"resources":["*/*"],"scope":"*"}],"timeoutSeconds":1}` | ValidatingWebhookConfiguration settings | |
| 37 | +| webhook.failurePolicy | string | `"Ignore"` | Fail open so audit failures don't block API calls | |
| 38 | +| webhook.rules | list | `[{"apiGroups":["*"],"apiVersions":["*"],"operations":["CREATE","UPDATE","DELETE"],"resources":["*/*"],"scope":"*"}]` | Rules for which API calls to audit | |
| 39 | +| webhook.timeoutSeconds | int | `1` | Timeout in seconds for webhook calls | |
| 40 | + |
0 commit comments