Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions docs/content/docs/advanced-topics/helm-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Helm is a package manager for Kubernetes, allowing to easily deploy applications
| `extraVolumeMounts` | Additional volume mounts for the agent container | `[]` |
| `extraVolumes` | Additional volumes for the agent pod | `[]` |
| `fullnameOverride` | Overrides release fullname | `""` |
| `hostUsers` | Use the host's [user namespace](https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/). This field is available starting with Kubernetes 1.27. If unset, Kubernetes defaults to true. | _None_ |
| `image.flavor` | Container image tag, can be `bookworm`, `jammy`, `noble`, `ubi8`, `ubi9`, `win-ltsc2022`, or `win-ltsc2025` | `bookworm` |
| `image.isWindows` | Turn on is the agent is a Windows-based system | `false` |
| `image.pullPolicy` | Container image pull policy | `IfNotPresent` |
Expand Down
3 changes: 3 additions & 0 deletions src/helm/blue-agent/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ initContainers:
{{- end }}
terminationGracePeriodSeconds: {{ .Values.pipelines.timeout | int | required "A value for .Values.pipelines.timeout is required" }}
restartPolicy: {{ .Args.restartPolicy }}
{{- with .Values.hostUsers }}
hostUsers: {{ . }}
{{- end }}
containers:
{{- if .Values.sidecarContainers -}}
{{- toYaml .Values.sidecarContainers | trim | nindent 2 }}
Expand Down
5 changes: 5 additions & 0 deletions src/helm/blue-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ tolerations: []
# Pod affinity configuration
affinity: {}

# Use the host's user namespace.
# This field is available starting with Kubernetes 1.27.
# If unset, Kubernetes defaults to true.
hostUsers: null

# Number of revisions to keep in the history of the Deployment
revisionHistoryLimit: 10

Expand Down