added reloader-enterprise dependency

This commit is contained in:
Safwan
2026-07-15 16:15:14 +05:00
parent 6195dd91e1
commit 477e67784c
7 changed files with 114 additions and 13 deletions
@@ -1,8 +1,8 @@
apiVersion: v1
name: reloader
apiVersion: v2
name: reloader-v2
description: Reloader chart that runs on kubernetes
version: 2.2.12
appVersion: v1.4.17
version: 2.0.0
appVersion: v2.0.0
keywords:
- Reloader
- kubernetes
@@ -17,3 +17,9 @@ maintainers:
email: rasheed@stakater.com
- name: faizanahmad055
email: faizan@stakater.com
dependencies:
- name: reloader-enterprise
alias: enterprise
version: 0.1.0
repository: oci://ghcr.io/stakater/charts
condition: enterprise.enabled
@@ -170,6 +170,55 @@ helm uninstall {{RELEASE_NAME}} -n {{NAMESPACE}}
### Deprecation Notice
- `serviceMonitor` will be removed in future releases in favor of `PodMonitor`
## Enterprise mode
Reloader Enterprise adds a console, gateway, and cache (dragonfly) alongside the
operator. It ships as an optional subchart gated by `enterprise.enabled`.
Enabling it requires **four** changes, because the operator image is swapped manually:
1. Turn on the subchart and set the component hostnames:
```yaml
enterprise:
enabled: true
global:
consoleHost: reloader-enterprise-console.apps.example.com
gatewayHost: reloader-enterprise-gateway.apps.example.com
```
2. Swap the operator image to the enterprise image:
```yaml
image:
repository: ghcr.io/stakater/reloader-enterprise
tag: v0.1.0
```
3. Provide an image pull secret — the enterprise operator, console, and gateway
images are in **private GHCR**:
```bash
kubectl create secret docker-registry saap-dockerconfigjson \
--docker-server=ghcr.io \
--docker-username=<user> --docker-password=<token> \
-n <release-namespace>
```
```yaml
global:
imagePullSecrets:
- name: saap-dockerconfigjson
```
4. Deeper enterprise component settings pass through under `enterprise.console.*`,
`enterprise.gateway.*`, and `enterprise.dragonfly.*` (see the reloader-enterprise
chart values for the full list). Values you do not override fall back to the
subchart defaults.
When `enterprise.enabled=false` (the default) none of the enterprise components are
rendered and the operator uses the community image.
## Release Process
_Helm chart versioning_: The Reloader Helm chart is maintained in this repository. The Helm chart has its own semantic versioning. Helm charts and code releases are separate artifacts and separately versioned. Manifest making strategy relies on Kustomize. The Reloader Helm chart manages the two artifacts with these two fields:
@@ -0,0 +1,20 @@
suite: Enterprise image swap
templates:
- deployment.yaml
tests:
- it: uses the community image by default
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: ghcr.io/stakater/reloader:v2.0.0
- it: uses the enterprise image when the image block is overridden
set:
enterprise:
enabled: true
image:
repository: ghcr.io/stakater/reloader-enterprise
tag: v2.0.0
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: ghcr.io/stakater/reloader-enterprise:v2.0.0
@@ -10,6 +10,11 @@ global:
#imagePullSecrets:
# - my-pull-secret
## Required when enterprise.enabled=true (shared with the enterprise subchart)
consoleHost: ""
gatewayHost: ""
gatewayScheme: https
kubernetes:
host: https://kubernetes.default
@@ -19,10 +24,24 @@ fullnameOverride: ""
image:
name: stakater/reloader
repository: ghcr.io/stakater/reloader
tag: v1.4.19
tag: v2.0.0
# digest: sha256:1234567
pullPolicy: IfNotPresent
# Reloader Enterprise components (console + gateway + dragonfly cache).
# When enabled, ALSO set image.repository/image.tag to the enterprise operator
# image and provide global.imagePullSecrets — see the chart README "Enterprise mode".
enterprise:
enabled: false
console:
enabled: true
gateway:
enabled: true
dragonfly:
enabled: true
dragonfly:
fullnameOverride: reloader-enterprise-dragonfly
reloader:
autoReloadAll: false
isArgoRollouts: false