fix: remove nodeport for nats in kind/environments/values
## What
Brings the SRM single-bootstrap change (originally fix/srm-control-path-bootstrap by @togias) onto the 2.0 chart layout, so the chart works with SRM develop (TF-SDK 2.0.0rc4).
SRM develop now reads control paths only from the bootstrap topology, and TF-SDK rc4 needs in_cluster: true for the local cluster plus a writable /var/run/openop-tfsdk. Without this MR, an SRM 2.0.0 image built from current develop can't deploy workloads with our chart.
Supersedes fix/srm-control-path-bootstrap. Its two commits are ported here under @togias's name.
Changes
- Control paths only in
srm.topology. Thesrm.controlPathsvalue is retired: setting it now fails rendering with a migration message.CONTROL_PATH_SETTINGS__ENTRIESis no longer passed to SRM. - Remote-cluster credentials. New
srm.controlPathCredentialsvalue mounts an existing kubeconfig Secret under/etc/openop/kubeconfigs/. The chart checks at render time that each mount matches a control path'skubeconfig_pathin the topology. - TF-SDK runtime directory. SRM always gets an
emptyDirat/var/run/openop-tfsdk, where TF-SDK writes Helm's temporary files. - kind values.
controlPathsremoved;in_cluster: trueadded to thek8s-localcontrol path. - Docs and tests. SRM README section rewritten (one bootstrap, credentials, release compatibility pinned to SRM
develop8fdb12awith TF-SDK2.0.0rc4). Newtests/test_srm_bootstrap.pywith pytest render checks.
Only change from @togias's originals: value paths follow the flat 2.0 layout (srm.topology instead of srm.srmcontroller.topology).
Breaking for existing values
Anyone setting srm.controlPaths must move those entries into control_paths inside srm.topology. Kubernetes control paths for the cluster SRM runs in need in_cluster: true. Rendering fails with a clear message until they do.
Tested
On kind, with SRM 2.0.0 built from develop 8fdb12a (TF-SDK 2.0.0rc4):
helm lintand the 8 pytest render checks pass.- Fresh install through
scripts/helm-deploy.sh: all pods ready; SRM loads the topology with nocontrolPaths. - End-to-end cases, 11/11 passing:
- Helm-chart and container app deploys into
oop-apps - instance create, list and terminate
- QoD create, get and delete through a mock NEF declared only in the topology
- location retrieval
- Helm-chart and container app deploys into
- The retired
srm.controlPathsvalue is refused with the migration message. ``