Skip to content

Commit da0dba7

Browse files
committed
docs: update Helm chart reference to v2.2.1
Update version badge and info callout, fix image.tag default (empty string, not hardcoded CLI version), and correct OpenShift securityContext guidance — users must explicitly set runAsUser: null, not omit it. Upstream fix for the auto-generated .md tracked in kosli-dev/cli#853.
1 parent 91d09d8 commit da0dba7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

helm/k8s_reporter.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ description: A Helm chart for installing the Kosli K8S reporter as a cronjob.
55

66
# k8s-reporter
77

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

1010
<Info>
11-
This reference applies to **chart version 2.2.0**, which uses **CLI version v2.12.0** by default (`image.tag`).
11+
This reference applies to **chart version 2.2.1**. The default CLI version is the chart's `appVersion`.
1212
</Info>
1313

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

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

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

234234
<ParamField path="reporterConfig.securityContext" type="object">
235-
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.
235+
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.
236236

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

255255
<ParamField path="reporterConfig.securityContext.runAsUser" type="int" default="1000">
256-
The user id to run as. Omit this field for OpenShift environments to allow automatic UID assignment.
256+
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.
257257
</ParamField>
258258

259259
### Kosli API token

0 commit comments

Comments
 (0)