Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions helm/k8s_reporter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ description: A Helm chart for installing the Kosli K8S reporter as a cronjob.

# k8s-reporter

![Version: 2.2.0](https://img.shields.io/badge/Version-2.2.0-informational?style=flat-square)

<Info>
This reference applies to **chart version 2.2.0**, which uses **CLI version v2.12.0** by default (`image.tag`).
This reference applies to **chart version 2.2.1**, which defaults to CLI **v2.12.0** via `appVersion`. Override with `image.tag`.
</Info>

A Helm chart for installing the Kosli K8S reporter as a cronjob.
Expand Down Expand Up @@ -205,8 +203,8 @@ If you already run [cert-manager's trust-manager](https://cert-manager.io/docs/t
The kosli reporter image repository.
</ParamField>

<ParamField path="image.tag" type="string" default="v2.12.0">
The kosli reporter image tag, overrides the image tag whose default is the chart appVersion.
<ParamField path="image.tag" type="string" default="">
The kosli reporter image tag. Defaults to the chart `appVersion` when left empty.
</ParamField>

<ParamField path="image.pullPolicy" type="string" default="IfNotPresent">
Expand All @@ -232,7 +230,7 @@ If you already run [cert-manager's trust-manager](https://cert-manager.io/docs/t
</ParamField>

<ParamField path="reporterConfig.securityContext" type="object">
The security context for the reporter cronjob. Set to null or `{}` to disable security context entirely (not recommended). For OpenShift, you can omit `runAsUser` to let OpenShift assign the UID.
The security context for the reporter cronjob. Set to null or `{}` to disable security context entirely (not recommended). For OpenShift with SCC, explicitly set `runAsUser: null` to let OpenShift assign the UID from the allowed range. Simply omitting `runAsUser` from your values override will not work because Helm deep-merges with the chart defaults.

Default:
```json
Expand All @@ -253,7 +251,7 @@ If you already run [cert-manager's trust-manager](https://cert-manager.io/docs/t
</ParamField>

<ParamField path="reporterConfig.securityContext.runAsUser" type="int" default="1000">
The user id to run as. Omit this field for OpenShift environments to allow automatic UID assignment.
The user id to run as. For OpenShift environments with SCC, set to `null` (`runAsUser: null`) to allow automatic UID assignment. Simply omitting this field will not work due to Helm's deep merge with chart defaults.
</ParamField>

### Kosli API token
Expand Down