Compare commits

..
Author SHA1 Message Date
Cédric Verstraeten e112153610 Merge pull request #254 from kerberos-io/feat/hub-plans-new-organisations
hub: subscriptions.plans.newOrganisations (0.197.0)
2026-11-19 14:50:52 +01:00
Cédric VerstraetenandClaude Opus 5.5 99b5d14171 hub: subscriptions.plans.newOrganisations (PLANS_NEW_ORGANISATIONS)
With plans enabled, new organisations start in plans mode only when
newOrganisations is on. Off (default): they start in legacy mode and an
owner or application admin switches an organisation to plans mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:45:28 +00:00
Cédric Verstraeten c12a10d443 Merge pull request #253 from kerberos-io/feat/hub-plans-file
feat(hub): plan file for subscriptions, off by default (0.196.0)
2026-11-19 08:25:04 +01:00
5 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.196.0
version: 0.197.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
+1
View File
@@ -810,6 +810,7 @@ kerberospipeline:
| `readOnly` | This will stop any write process to mongodb or any processing done in the Kerberos Hub pipeline. | `false` |
| `mode` | Deployment mode: `all`, `pipeline`, or `ui`. `all` renders everything, `pipeline` only pipeline services, `ui` only hub services. | `"all"` |
| `subscriptions.plans.enabled` | Creates the `hub-plans` ConfigMap from `files/plans.yaml` (the `trial`, `community` and `enterprise` plans: gated permissions, limits and Stripe price lookup keys) and mounts it read-only at `/etc/kerberos/plans/plans.yaml` in hub-api, pipe-monitor, pipe-analysis and hub-cleanup, with `PLANS_FILE` set to that path. Plans are changed in the chart, not in values: a change adds a new version of a plan. | `false` |
| `subscriptions.plans.newOrganisations` | With `subscriptions.plans.enabled`, new organisations start in plans mode (`PLANS_NEW_ORGANISATIONS=true` on hub-api). When off, new organisations start in legacy mode and an owner or application admin switches an organisation to plans mode. | `false` |
| `global.imageRegistry` | Global container registry override used for all images. | `""` |
| `ingress` | The ingress being used for `kerberoshub.api.url` and `kerberoshub.frontend.url`. | `"nginx"` |
| `mongodb.host` | MongoDB hostname (`'mongodb:27017'`) or mongodb replicas (`'mongodb-0:27017,mongodb-1:27017'`). | `"mongodb.mongodb"` |
@@ -306,6 +306,10 @@ spec:
# Plans (files/plans.yaml, subscriptions.plans.enabled).
- name: PLANS_FILE
value: /etc/kerberos/plans/plans.yaml
{{- if .Values.subscriptions.plans.newOrganisations }}
- name: PLANS_NEW_ORGANISATIONS
value: "true"
{{- end }}
{{- end }}
- name: ENVIRONMENT
value: "{{ .Values.environment }}"
+4
View File
@@ -105,6 +105,10 @@
"enabled": {
"type": "boolean",
"description": "Mount the plan file (files/plans.yaml, ConfigMap hub-plans) into hub-api, pipe-monitor, pipe-analysis and hub-cleanup, with PLANS_FILE set to its path."
},
"newOrganisations": {
"type": "boolean",
"description": "With plans enabled, new organisations start in plans mode (PLANS_NEW_ORGANISATIONS on hub-api). Off: they start in legacy mode and are switched per organisation."
}
}
}
+2
View File
@@ -26,9 +26,11 @@ readOnly: false # Set to 'true' to halt all write operations to the database (e.
# - ui: Hub services only
mode: "all"
# Mount the plan file (files/plans.yaml) into hub-api, pipe-monitor, pipe-analysis and hub-cleanup.
# newOrganisations: new organisations start in plans mode (otherwise owners and admins switch per organisation).
subscriptions:
plans:
enabled: false
newOrganisations: false
###########################################################################
# Image signature verification (Kyverno)
###########################################################################