-`values-openslice.example.yaml`: a minimal overlay for a release named `openslice`.
-`templates/deployment.yaml`:
- 1 replica with the `Recreate` strategy
-`checksum/secrets` annotation
- non-root UID 10001, no service-account token, all capabilities dropped
- The Artemis credentials come from the secret as `SPRING_ACTIVEMQ_USER` / `SPRING_ACTIVEMQ_PASSWORD`.
-`templates/secrets.yaml`: `<fullname>-artemis`, created only when `artemis.existingSecret` is empty.
-`templates/NOTES.txt`, `_helpers.tpl`
-`.gitlab-ci.yml`:
- Every push runs `helm lint` (normal and strict) and two `helm template` renders.
- A tag `vX.Y.Z` runs `helm package --version X.Y.Z` and uploads the chart with curl to the project's GitLab Helm registry (channel `stable`) using `CI_JOB_TOKEN`. Chronos pushes to Harbor instead; this repo lives on labs.etsi.org, so it uses that GitLab's registry.
-`README.md`, `.gitignore`
## Design notes
- No Service, Ingress or probes, because the app runs with `server.port: 0` and has no HTTP API.
- It reuses OpenSlice's `openslice-artemis` service and the `openslice-artemis-secret` (keys `username`/`password`), like chronos.
-`SPRING_APPLICATION_JSON` sets these keys:
-`spring.activemq.brokerUrl`
-`osl-controller.category` / `version`
-`PLANNING_SIMULATED_DEPLOY_DELAY_MS`
-`logging.level.root` / `org.etsi.osl.example.gc`
The keys were checked against `application.yml` and the `@Value` injections in the controller code.
## Verification
-`helm lint` and `helm lint --strict -f values-openslice.example.yaml` pass, with only the INFO "icon is recommended". Tested with helm v3.16.4.
-`helm template` with the defaults renders only the Deployment. `SPRING_APPLICATION_JSON` is valid JSON with the expected keys.
-`helm template --set artemis.existingSecret= --set artemis.password=x --set config.logging.level.org\.apache\.camel=DEBUG` adds the `gcontroller-artemis` Secret, and the `config` log level merges correctly.
## Not verified
- Not installed on a cluster.
- The GitLab pipeline has not run, so the publish job and the project's Helm registry are untested.
Changes for .changelog/index.md: 2 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -2,6 +2,7 @@
| Doc | Description |
|---|---|
| [20261025_1857_merge-helm-chart-into-repo.md](20261025_1857_merge-helm-chart-into-repo.md) | Merged the Helm chart from `org.etsi.osl.examples.gcontroller.deploy` into `deploy/helm/gcontroller` (docs in `deploy/README.md`). The CI gains `helm_lint` (every push) and `helm_publish` (tags, to this project's Helm registry) and reuses the shared template stages. The registry URL now uses this project's path. The .deploy repo is obsolete. |
| [20261022_2345_kubernetes-cluster-long-running-deployment.md](20261022_2345_kubernetes-cluster-long-running-deployment.md) | `KubernetesCluster` in production accepts the create request at once with the cluster HELD, and a background report marks it UP in the catalogue 60 s later (`osl-controller.kubernetes-cluster.provisioning-seconds`). A new `onTeardown` hook drops a pending report when the cluster is deleted. Simulation is unchanged. 124 tests pass. |
| [20261016_0011_presentation-osl-template.md](20261016_0011_presentation-osl-template.md) | Restyled `docs/creating-an-openslice-controller.pptx` to the OpenSlice promo template (`osl.promo/overview/Template.pptx`): photos with the curved edge on title and section slides, the OpenSlice logo on every layout, Cambria and Calibri fonts, the OSL blue and amber palette, and cards with a soft shadow. Same 29 slides and notes, checked in PowerPoint. No code changed. |
| [20261015_2354_controller-guide-presentation.md](20261015_2354_controller-guide-presentation.md) | New `docs/creating-an-openslice-controller.pptx`: a 29-slide deck with speaker notes generated from the generic controller guide (overview, Part 1 adapting resources, Part 2 supporting simulation, appendices). Built with pptxgenjs and checked by rendering in PowerPoint. No code changed. |
@@ -9,6 +10,7 @@
| [20261015_2332_generic-controller-guide.md](20261015_2332_generic-controller-guide.md) | New `docs/creating-an-openslice-controller.md`: language-agnostic controller contract in two parts — (1) adapting the resources of a category (OSOM routing, queues/headers, RSpec registration, health reporting, replies) and (2) supporting simulation (`/PLANNING` queues, no side effects, planning callback, HELD → UP, estimates, `estimateOnly`, timeouts). Linked from the existing guide. No code changed. |
| [20261015_1605_fix-executable-jar.md](20261015_1605_fix-executable-jar.md) | Bind `spring-boot-maven-plugin``repackage` in `pom.xml`. With no Spring Boot parent it never ran, so the image jar had no `Main-Class` ("no main manifest attribute" on osl-staging). 119 tests pass; the jar starts locally |
| [20261015_1530_restore-weakened-test-assertions.md](20261015_1530_restore-weakened-test-assertions.md) | Re-enable the X.731 header assertions in `ResourceRepoServiceHealthTest` (without `resourceStatus`), drop the vacuous `supersedesAnEarlierConditionVerdict`, re-pin KubernetesCluster's default `operationCostPerHour` and fix its stale javadoc. 119 tests pass. |
| [20261015_1510_gcontroller-helm-chart.md](20261015_1510_gcontroller-helm-chart.md) | (Written in `org.etsi.osl.examples.gcontroller.deploy`, merged here on 2026-10-25.) Standalone chart `helm/gcontroller`, modelled on `org.etsi.osl.chronos.deploy`. One controller Deployment that reuses OpenSlice's Artemis and secret. CI lints on push and publishes tagged releases to the GitLab Helm registry. |
| [20261015_1500_dockerfile.md](20261015_1500_dockerfile.md) | Add a runtime-only `Dockerfile` (temurin 17 JRE, non-root) that packages the prebuilt jar, matching the CI `maven_build` → `docker_build` flow, plus a `.dockerignore`. |
| [20261015_1430_why-tests-fail.md](20261015_1430_why-tests-fail.md) | Diagnosis of 25 failing tests: specs stopped declaring `resourceStatus` (20), planning callback no longer sends the `org.etsi.osl.resourceStatus` header (3), and KubernetesCluster cost coefficients were recalibrated without updating its tests (2). No code changed. |
| [20261003_1734_report-held-before-up-on-create.md](20261003_1734_report-held-before-up-on-create.md) | A real (non-simulation) `createResource` now writes a partial `HELD` update to the catalog before running the spec's `resourceLogic`, so the resource goes `PENDING -> HELD -> UP` like the planning path instead of jumping straight from `PENDING` to `UP`. |