You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+52-14Lines changed: 52 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,37 +6,75 @@ Wrapper Helm chart for Stakater Reloader with defaults for cluster-wide OpenShif
6
6
7
7
## Prerequisites
8
8
9
-
- Helm 3 or later
10
9
- OpenShift (or Kubernetes) cluster
10
+
- A [Validated Patterns](https://validatedpatterns.io/) deployment (for example [multicloud-gitops](https://github.com/validatedpatterns/multicloud-gitops)) with `clusterGroup` hub values, or Helm 3 if you install the chart directly
11
11
- Optional: [Secrets Store CSI Driver](https://secrets-store-csi-driver.sigs.k8s.io/) and its CRDs if you rely on CSI-backed secret rotation (Reloader watches those APIs when `reloader.reloader.enableCSIIntegration` is true)
12
12
13
13
## Install
14
14
15
-
Add this chart (or your chart repo) and install into a dedicated namespace, for example `reloader`:
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](https://github.com/validatedpatterns/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`):
18
+
19
+
```yaml
20
+
clusterGroup:
21
+
namespaces:
22
+
vp-stakater-reloader:
23
+
argoProjects:
24
+
- hub
25
+
# ... other projects ...
26
+
applications:
27
+
vp-stakater-reloader:
28
+
name: vp-stakater-reloader
29
+
namespace: vp-stakater-reloader
30
+
argoProject: hub
31
+
chart: vp-stakater-reloader
32
+
chartVersion: 0.1.*
21
33
```
22
34
35
+
Ensure `argoProjects` includes the `argoProject` you reference. 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.
36
+
23
37
### OpenShift UID / SCC (recommended)
24
38
25
-
Upstream Reloader defaults `runAsUser: 65534`. On OpenShift 4.13+, Stakater recommends letting the namespace SCC assign the UID. Helm value merging keeps that default unless you clear the key explicitly:
39
+
Upstream Reloader defaults `runAsUser: 65534`. On OpenShift 4.13+, Stakater recommends letting the namespace SCC assign the UID. In a Validated Patterns application, use Helm overrides on the application entry (Helm value merging keeps the default unless you clear the key):
This chart sets `reloader.reloader.autoReloadAll` to `false` so workloads opt in via Reloader annotations. To reload on ConfigMap/Secret changes by default (opt out with `reloader.stakater.com/auto: "false"` on a workload), set:
60
+
By 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:
| reloader.reloader.autoReloadAll | bool |`false`| Reload on ConfigMap or Secret changes by default; opt out per workload via Reloader annotations|
115
+
| reloader.reloader.autoReloadAll | bool | `true` | Reload on ConfigMap or Secret changes by default; opt out per workload with reloader.stakater.com/auto: "false"|
78
116
| reloader.reloader.deployment.replicas | int | `2` | Number of controller replicas (requires enableHA when greater than 1) |
79
117
| reloader.reloader.deployment.securityContext.runAsNonRoot | bool | `true` | Run as non-root |
80
118
| reloader.reloader.deployment.securityContext.seccompProfile.type | string | `"RuntimeDefault"` | Seccomp profile for the pod |
Copy file name to clipboardExpand all lines: README.md.gotmpl
+51-13Lines changed: 51 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -7,37 +7,75 @@
7
7
8
8
## Prerequisites
9
9
10
-
- Helm 3 or later
11
10
- OpenShift (or Kubernetes) cluster
11
+
- A [Validated Patterns](https://validatedpatterns.io/) deployment (for example [multicloud-gitops](https://github.com/validatedpatterns/multicloud-gitops)) with`clusterGroup` hub values, or Helm 3 if you install the chart directly
12
12
- Optional: [Secrets Store CSI Driver](https://secrets-store-csi-driver.sigs.k8s.io/) and its CRDs if you rely on CSI-backed secret rotation (Reloader watches those APIs when `reloader.reloader.enableCSIIntegration` is true)
13
13
14
14
## Install
15
15
16
-
Add this chart (or your chart repo) and install into a dedicated namespace, for example `reloader`:
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](https://github.com/validatedpatterns/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`):
19
+
20
+
```yaml
21
+
clusterGroup:
22
+
namespaces:
23
+
vp-stakater-reloader:
24
+
argoProjects:
25
+
- hub
26
+
# ... other projects ...
27
+
applications:
28
+
vp-stakater-reloader:
29
+
name: vp-stakater-reloader
30
+
namespace: vp-stakater-reloader
31
+
argoProject: hub
32
+
chart: vp-stakater-reloader
33
+
chartVersion: 0.1.*
22
34
```
23
35
36
+
Ensure `argoProjects` includes the `argoProject` you reference. 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.
37
+
24
38
### OpenShift UID / SCC (recommended)
25
39
26
-
Upstream Reloader defaults `runAsUser: 65534`. On OpenShift 4.13+, Stakater recommends letting the namespace SCC assign the UID. Helm value merging keeps that default unless you clear the key explicitly:
40
+
Upstream Reloader defaults `runAsUser: 65534`. On OpenShift 4.13+, Stakater recommends letting the namespace SCC assign the UID. In a Validated Patterns application, use Helm overrides on the application entry (Helm value merging keeps the default unless you clear the key):
This chart sets `reloader.reloader.autoReloadAll` to `false` so workloads opt in via Reloader annotations. To reload on ConfigMap/Secret changes by default (opt out with`reloader.stakater.com/auto: "false"` on a workload), set:
61
+
By 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:
0 commit comments