sxapi
by startxfr
Helm chart used to deploy a small an simple micro-service based on the sxapi application running under nodejs engine.
About this chart
Basic Chart : SXAPI
This helm chart is used to deploy a lightweight micro-service based on the sxapi engine. The deployment is exposed into the cluster and could be exposed outside by using various exposition method (ingress, route or nodePort).
You can configure the behavior of you micro-service directly into your values.yaml file and versionning it will allow you to keep track of your application states.
Requirements and guidelines
Read the startx helm-repository homepage for more information on how to use STARTX helm chart.
Deploy this helm chart on openshift
1. Connect to your Openshift cluster
oc login -t <token> <cluster-url>
2. Install the repository
helm repo add startx https://helm-repository.readthedocs.io/en/latest/repos/stable/
3. Get information about this chart
helm show chart startx/sxapi
4. Install this chart
helm install sxapi startx/sxapi
Deploy this helm chart on kubernetes
1. Connect to your kubernetes cluster
kubectl login -t <token> <cluster-url>
2. Install the STARTX helm repository
helm repo add startx https://helm-repository.readthedocs.io/en/latest/repos/stable/
3. Information about this chart
helm show chart startx/sxapi
4. Install sxapi chart
helm install sxapi startx/sxapi
Values files
Default values file
The values.yaml example file define a deployment with the following characteristics :
- 1 service named sxapi load balancing to pod deployed
- 1 deployment named sxapi deploying 1 pod from version 0.3.63 sxapi image running the prod:start command with :
- debug disabled
- / : homepage with html content
- /health : health page
- /info : description of the micro-service
- /ping : return a pong message
- 2 configMap for application instance configuration
- lib : Versionned content of the sxapi configuration file and related content
- app : Environment variable describing the application deployed in version 0.0.1
# base configuration running default configuration
helm install sxapi startx/sxapi
Dev values file (values-dev.yaml)
The values-dev.yaml example file define a deployment with the following characteristics :
- 1 service named sxapi load balancing to pod deployed
- 1 deployment named sxapi deploying 1 pod from version latest sxapi image running the dev:start command with :
- debug enabled
- / : homepage with html content
- /health : health page
- /info : description of the micro-service
- /ping : return a pong message
- 2 configMap for application instance configuration
- lib : Versionned content of the sxapi configuration file and related content
- app : Environment variable describing the application deployed in version 0.0.2-devel
# base configuration running dev configuration
helm install sxapi-dev startx/sxapi -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/sxapi/values-dev.yaml
Test values file (values-test.yaml)
The values-test.yaml example file define a deployment with the following characteristics :
- 1 service named sxapi load balancing to pod deployed
- 1 deployment named sxapi deploying 1 pod from version testing sxapi image running the prod:start command with :
- debug enabled
- / : homepage with html content
- /health : health page
- /info : description of the micro-service
- /ping : return a pong message
- 2 configMap for application instance configuration
- lib : Versionned content of the sxapi configuration file and related content
- app : Environment variable describing the application deployed in version 0.0.1-testing
# base configuration running dev configuration
helm install sxapi-test startx/sxapi -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/sxapi/values-test.yaml
Pre-prod-v1 values file (values-pprod-v1.yaml)
The values-pprod-v1.yaml example file define a deployment with the following characteristics :
- 1 service named sxapi load balancing to pod deployed
- 1 deployment named sxapi deploying 1 pod from version 0.3.58 sxapi image running the prod:start command with :
- debug disabled
- / : homepage with html content
- /health : health page
- /info : description of the micro-service
- 2 configMap for application instance configuration
- lib : Versionned content of the sxapi configuration file and related content
- app : Environment variable describing the application deployed in version 0.0.1
# base configuration running dev configuration
helm install sxapi-pprod-v1 startx/sxapi -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/sxapi/values-pprod-v1.yaml
Prod-v1 values file (values-prod-v1.yaml)
The values-prod-v1.yaml example file define a deployment with the following characteristics :
- 1 service named sxapi load balancing to pod deployed
- 1 deployment named sxapi deploying 1 pod from version 0.3.58 sxapi image running the prod:start command with :
- debug disabled
- / : homepage with html content
- /health : health page
- /info : description of the micro-service
- 2 configMap for application instance configuration
- lib : Versionned content of the sxapi configuration file and related content
- app : Environment variable describing the application deployed in version 0.0.1
# base configuration running dev configuration
helm install sxapi-prod-v1 startx/sxapi -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/sxapi/values-prod-v1.yaml
Pre-prod-v2 values file (values-pprod-v2.yaml)
The values-pprod-v2.yaml example file define a deployment with the following characteristics :
- 1 service named sxapi load balancing to pod deployed
- 1 deployment named sxapi deploying 1 pod from version 0.3.63 sxapi image running the prod:start command with :
- debug disabled
- / : homepage with html content
- /health : health page
- /info : description of the micro-service
- /ping : return a pong message
- 2 configMap for application instance configuration
- lib : Versionned content of the sxapi configuration file and related content
- app : Environment variable describing the application deployed in version 0.0.2
# base configuration running dev configuration
helm install sxapi-pprod-v2 startx/sxapi -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/sxapi/values-pprod-v2.yaml
Other values files
- demo-sxapi-deploy : values-demo-sxapi-deploy.yaml
- startx_noinfra : values-startx_noinfra.yaml helm install sxapi startx/sxapi -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/sxapi/values-demo-sxapi-deploy.yaml
Values dictionary
context values dictionary
| Key | Default | Description |
|---|---|---|
| context.scope | default | Name of the global scope for this application (organizational tenant) |
| context.cluster | localhost | Name of the cluster running this application (platform tenant) |
| context.environment | dev | Name of the environment for this application (ex: dev, factory, preprod or prod) |
| context.component | demo | Component name of this application (logical tenant) |
| context.app | sxapi | Application name (functional tenant, default use Chart name) |
| context.version | 0.0.1 | Version name of this application (default use Chart appVersion) |
sxapi values dictionary
| Key | Default | Description |
|---|---|---|
| sxapi.service.enabled | false | Enable service for this application |
| sxapi.version | 0.3.63 | Sxapi image version to run |
| sxapi.profile | prod:start | Profile to run inside the container |
| sxapi.debug | true | Enable debuging of the container |
| sxapi.replicas | 1 | Define the number of replicas for this sxapi instance |
| sxapi.data | string | Files to load into the application |
Deploy with ArgoCD
Deploy via ArgoCD Application
Deploy sxapi using a single ArgoCD Application sharing a dedicated AppProject.
The chart deploys a lightweight nodejs micro-service into the target namespace:
git clone https://gitlab.com/startx1/helm.git
cd helm-repository/charts/sxapi/examples/argocd/
oc apply -k .
The automated sync policy ensures ArgoCD reconciles the microservice whenever the chart or values drift from the desired state.
History
Version 6.x
| Release | Date | Description |
|---|
Version 7.x
| Release | Date | Description |
|---|
Version 8.x
| Release | Date | Description |
|---|
Version 9.x
| Release | Date | Description |
|---|
Version 10.x
| Release | Date | Description |
|---|
Version 11.x
| Release | Date | Description |
|---|
Version 12.x
| Release | Date | Description |
|---|
Version 13.x
| Release | Date | Description |
|---|
Version 14.x
| Release | Date | Description |
|---|---|---|
| 16.19.43 | 2025-02-27 | publish stable update for the full repository |
| 17.14.90 | 2025-04-30 | Publish stable release for 4.17 version |
| 18.11.71 | 2025-11-27 | Align all charts to the same releas |
| 18.23.0 | 2026-02-28 | Start 4.19 branch |
| 19.23.17 | 2026-03-02 | Align all dependencies to chart v19.23.11 |
| 20.14.15 | 2026-03-02 | Update all chrat to OCP version 4.20.14 |
| 21.3.0 | 2026-03-02 | Update all chart to OCP version 4.21.3 |
| 21.3.21 | 2026-06-19 | release basic version |
| 21.3.70 | 2026-06-20 | Improve doc and argocd examples |
| 21.3.222 | 2026-08-08 | Improve sxapi options |
| 21.3.278 | 2026-08-14 | add centigpu |
| 21.3.300 | 2026-10-21 | Add new charts and align all to this release |
| 21.3.309 | 2026-10-27 | Adding new charts perconna and align all to v21.3.309 |
| 21.3.321 | 2026-11-05 | Adding external secret management |
| 21.3.371 | 2026-11-19 | Add Sail, oauthProxy, DSCInitialization, spot machines and annotations support |
| 21.3.377 | 2026-11-19 | full repository release: aligned pins, ArgoCD source fix, schemas and docs |
| 21.3.379 | 2026-11-19 | conventions wave: spelling, READMEs, ArgoCD examples and values-app, oauth switch |
| 21.3.389 | 2026-11-19 | full repository release: HTTPS dependency URL |
Deploy sxapi with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has sxapi on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsxapi is pinned at v21.3.418 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply