Wrapper Helm chart for Stakater Reloader with defaults for cluster-wide OpenShift, ConfigMap/Secret watching, and Secrets Store CSI integration.
- OpenShift (or Kubernetes) cluster
- A Validated Patterns deployment (for example multicloud-gitops) with
clusterGrouphub values, or Helm 3 if you install the chart directly - Optional: Secrets Store CSI Driver and its CRDs if you rely on CSI-backed secret rotation (Reloader watches those APIs when
reloader.reloader.enableCSIIntegrationis true)
Declare a dedicated namespace and an Argo CD application in your hub (or site) values, alongside an argoProject that already exists in the same file. When this chart is published to the Validated Patterns Helm charts repository, reference it by chart name and a 0.1.* version range (same style as other catalog charts in multicloud-gitops values-hub.yaml):
clusterGroup:
namespaces:
vp-stakater-reloader:
argoProjects:
- hub
# ... other projects ...
applications:
vp-stakater-reloader:
name: vp-stakater-reloader
namespace: vp-stakater-reloader
argoProject: hub
chart: vp-stakater-reloader
chartVersion: 0.1.*
overrides:
- name: reloader.reloader.deployment.securityContext.runAsUser
value: "null"Ensure argoProjects includes the argoProject you reference. The runAsUser override clears the subchart default (65534) so OpenShift 4.13+ can assign a UID from the namespace SCC. To deploy from a Git source instead of the catalog, use repoURL, chartVersion (target revision), and path as in the upstream Reloader chart packaging workflows.
Upstream Reloader defaults runAsUser: 65534. On OpenShift 4.13+, Stakater recommends letting the namespace SCC assign the UID; the Validated Patterns example above includes that override on the application entry.
Standalone Helm equivalent:
helm install vp-stakater-reloader /path/to/vp-stakater-reloader-chart \
--namespace vp-stakater-reloader \
--create-namespace \
--set reloader.reloader.deployment.securityContext.runAsUser=nullBy default reloader.reloader.autoReloadAll is true, so Reloader rolls workloads on ConfigMap or Secret changes unless you opt a workload out with reloader.stakater.com/auto: "false". To require explicit Reloader annotations on every workload instead, set:
overrides:
- name: reloader.reloader.autoReloadAll
value: "false"Standalone Helm: --set reloader.reloader.autoReloadAll=false.
If you are not using Validated Patterns, install from a clone or packaged chart:
helm install vp-stakater-reloader /path/to/vp-stakater-reloader-chart \
--namespace vp-stakater-reloader \
--create-namespaceRefresh the vendored subchart after editing Chart.yaml dependencies:
make helm-depsHomepage: https://github.com/stakater/Reloader
| Name | Url | |
|---|---|---|
| Validated Patterns |
| Repository | Name | Version |
|---|---|---|
| https://stakater.github.io/stakater-charts | reloader | 2.2.11 |
| Key | Type | Default | Description |
|---|---|---|---|
| reloader.reloader.autoReloadAll | bool | true |
Reload on ConfigMap or Secret changes by default; opt out per workload with reloader.stakater.com/auto: "false" |
| reloader.reloader.deployment.replicas | int | 2 |
Number of controller replicas (requires enableHA when greater than 1) |
| reloader.reloader.deployment.securityContext.runAsNonRoot | bool | true |
Run as non-root |
| reloader.reloader.deployment.securityContext.seccompProfile.type | string | "RuntimeDefault" |
Seccomp profile for the pod |
| reloader.reloader.enableCSIIntegration | bool | true |
Watch Secrets Store CSI SecretProviderClass and SecretProviderClassPodStatus resources |
| reloader.reloader.enableHA | bool | true |
Enable leader election for multiple replicas |
| reloader.reloader.ignoreConfigMaps | bool | false |
Ignore ConfigMaps when true (cannot be true together with ignoreSecrets) |
| reloader.reloader.ignoreCronJobs | bool | false |
Exclude CronJobs from reload monitoring |
| reloader.reloader.ignoreJobs | bool | false |
Exclude Jobs from reload monitoring |
| reloader.reloader.ignoreSecrets | bool | false |
Ignore Secrets when true (cannot be true together with ignoreConfigMaps) |
| reloader.reloader.isOpenshift | bool | true |
Enable OpenShift DeploymentConfig RBAC when the API exists |
| reloader.reloader.reloadOnCreate | bool | true |
Trigger rollouts when new ConfigMaps or Secrets appear |
| reloader.reloader.syncAfterRestart | bool | true |
With HA, reconcile after leader restart (pairs with reloadOnCreate) |
| reloader.reloader.watchGlobally | bool | true |
Cluster-wide watch of all namespaces |
Autogenerated from chart metadata using helm-docs v1.14.2