feat(helm): add support for enabling user namespace

Signed-off-by: t3mi <t3mi@users.noreply.github.com>
This commit is contained in:
t3mi
2026-06-10 10:36:43 +00:00
parent ba9d19453f
commit 500c2e57cb
3 changed files with 6 additions and 0 deletions
@@ -75,6 +75,7 @@ helm uninstall {{RELEASE_NAME}} -n {{NAMESPACE}}
| ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ----------------- |
| `reloader.deployment.replicas` | Number of replicas, if you wish to run multiple replicas set `reloader.enableHA = true`. The replicas will be limited to 1 when `reloader.enableHA = false` | int | 1 |
| `reloader.deployment.revisionHistoryLimit` | Limit the number of revisions retained in the revision history | int | 2 |
| `reloader.deployment.hostUsers` | Enable user namespace | boolean | |
| `reloader.deployment.nodeSelector` | Scheduling pod to a specific node based on set labels | map | `{}` |
| `reloader.deployment.affinity` | Set affinity rules on pod | map | `{}` |
| `reloader.deployment.securityContext` | Set pod security context | map | `{}` |
@@ -47,6 +47,9 @@ spec:
{{- if .Values.global.imagePullSecrets }}
imagePullSecrets:
{{ include "reloader-imagePullSecrets" . | indent 8 }}
{{- end }}
{{- if kindIs "bool" .Values.reloader.deployment.hostUsers }}
hostUsers: {{ .Values.reloader.deployment.hostUsers }}
{{- end }}
{{- if .Values.reloader.deployment.nodeSelector }}
nodeSelector:
@@ -78,6 +78,8 @@ reloader:
revisionHistoryLimit: 2
hostUsers: null
nodeSelector:
# cloud.google.com/gke-nodepool: default-pool