example-sxapi
by startxfr
Helm chart used to deploy an example of a small an simple micro-service based on the sxapi application helm chart.
About this chart
Example Chart : SXAPI
This helm chart is used to create a deployment of a small an simple micro-service based on sxapi helm chart.
This chart is part of the example-xxx startx helm chart series focused on deploying various kind of application consuming the cluster services deployed using the cluster-xxx charts.
Requirements and guidelines
Read the startx helm-repository homepage for more information on how to use these resources.
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/example-sxapi
4. Install this chart
helm install example-sxapi startx/example-sxapi
Values files
Default values file (values.yaml)
Complete deployment of an sxapi application with the following characteristics :
- 1 service named example-sxapi load balancing to pod deployed
- 1 deployment named example-sxapi deploying 1 pod from version 0.3.63 sxapi image running the prod:start command with debug disabled
- 2 configMap holding sxapi configuration and pod environment variable context
# base configuration running default configuration
helm install example-sxapi startx/example-sxapi
Development values file (values-dev.yaml)
Complete deployment of a sxapi development application with the following characteristics :
- 1 service named example-sxapi-dev load balancing to pod deployed
- 1 deployment named example-sxapi-dev deploying 1 pod from version 0.3.63 sxapi image running the dev:start command with debug disabled
- 2 configMap holding sxapi configuration and pod environment variable context
# base configuration running tekton v1.0.1 configuration
helm install example-sxapi-dev startx/example-sxapi -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/example-sxapi/values-dev.yaml
Version 0.0.1 values file (values-v0.0.1.yaml)
Complete deployment of a sxapi production application (v0.0.1) with the following characteristics :
- 1 service named example-sxapi-prod load balancing to pod deployed
- 1 deployment named example-sxapi-prod deploying 1 pod from version 0.3.63 sxapi image running the prod:start command with debug disabled
- 2 configMap holding sxapi configuration and pod environment variable context
# base configuration running tekton v0.0.1 configuration
helm install example-sxapi-v0.0.1 startx/example-sxapi -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/example-sxapi/values-v0.0.1.yaml
Version 0.0.2 values file (values-v0.0.2.yaml)
Complete deployment of a sxapi production application (v0.0.2) with the following characteristics :
- 1 service named example-sxapi-prod load balancing to pod deployed
- 1 deployment named example-sxapi-prod deploying 1 pod from version 0.3.63 sxapi image running the prod:start command with debug disabled
- 2 configMap holding sxapi configuration and pod environment variable context
# base configuration running tekton v0.0.2 configuration
helm install example-sxapi-v0.0.2 startx/example-sxapi -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/example-sxapi/values-v0.0.2.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) |
example-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
example-sxapi can be deployed by ArgoCD with a single Application. Adapt the destination namespace and the values to your
cluster.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: example-sxapi
namespace: openshift-gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://sx-helm-repository-prod.s3.eu-west-3.amazonaws.com/stable
chart: example-sxapi
# pin an exact version in production (ADR-0004)
targetRevision: 21.3.418
helm:
valueFiles:
- values.yaml
destination:
server: https://kubernetes.default.svc
namespace: default-sxapi
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
History
| 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.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 URLs, dependency-ordered release, schema guard, docs and examples |
| 21.3.390 | 2026-11-20 | full repository release: test fix, keepalived README, aligned pins |
| 21.3.392 | 2026-11-21 | full repository release: chaos-pipeline run parameters and authenticated health check, aligned pins |
| 21.3.397 | 2026-11-21 | stable repository release 21.3.397: all charts aligned, unifai delegation cap documentation |
| 21.3.410 | 2026-11-22 | full repository release: README conventions (Values files, Deploy with ArgoCD), conventions page |
| 21.3.412 | 2026-11-22 | full repository release: internal pins on the previous published version (ADR-0006) |
| 21.3.416 | 2026-11-23 | stable update: chart fixes (project, cluster-mongo, cluster-oadp, cluster-pipeline, cluster-machine, example-catalog); cluster-dvo accepts the grafana keys next to its historical keys, which keep priority |
| 21.3.418 | 2026-11-23 | commit a stable release of all charts |
Deploy example-sxapi with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has example-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 chartexample-sxapi 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