cluster-acs
by startxfr
Helm chart used to configure Advanced Cluster Security (ACS/Stackrox) at the cluster level
About this chart
Cluster Chart : Advanced Cluster Security (Stackrox)
This helm chart is used to deploy Advanced Cluster Security (ACS/Stackrox) handled by an operator to configure cluster security scanning and vulnerability management at the cluster level.
This chart is part of the cluster-xxx startx helm chart series that doesn't necessarily deploy pods but rather represent a cluster configuration state orchestrated by gitops tools like ArgoCD.
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/cluster-acs
4. Install this chart
Default values
Complete deployment of a project with the following characteristics :
- 1 project: named open-security-management with the following properties
- 1 LimitRange: defined for this project
- 1 Quotas: defined for this project
- 3 RBAC: allowing mygroup_example to edit resources
- 1 operator: named rhacs-operator configured with
- The rhacs-4.9 channel
- The 4.9.3 version
- Deployed under the openshift-operators project
- 1 acs: enabled
- central enabled
- scanner enabled
- securedCluster disabled (see Secured cluster services)
# base configuration running default configuration
helm install cluster-acs startx/cluster-acs
Other available values
- startx : Startx ACS cluster wide service configuration using startx group (dev, devops and ops) (see values.yaml)
helm install cluster-acs startx/cluster-acs -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/cluster-acs/values-startx.yaml
Values files
Example values files shipped with the chart, to use with helm install -f <file> :
- startx : context
startx/default/infra; againstvalues.yaml: differ on 45 keys, by top-level key:acs(26),operator(6),project(5),context(4), ... (see values-startx.yaml) - startx_noinfra : context
startx/default/infra; againstvalues-startx.yaml: differ onacs.infra(true → false),operator.subscription.infra(true → false),operator.subscription.operator.config.infra(true → false) (see values-startx_noinfra.yaml) examples/argocd/: 5 example manifest(s) (see the ArgoCD or usage sections)
helm install cluster-acs startx/cluster-acs -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/cluster-acs/values-startx.yaml
Secured cluster services
Central alone does not secure any cluster: the SecuredCluster resource deploys Sensor, the admission
controller and Collector, and registers the cluster in a Central. It is disabled by default
(acs.securedCluster.enabled: false), so existing deployments render exactly as before.
The operator only starts the secured cluster services once the secret cluster-registration-secret
(Cluster Registration Secret, CRS, ACS 4.7+) or the init bundle secrets (sensor-tls, admission-control-tls,
collector-tls) exist in the namespace. acs.securedCluster.registration.mode selects how this chart provides it:
| Mode | Usage | Behaviour |
|---|---|---|
job (default) | Central managed by this chart (hub) | A Job waits for Central, generates a CRS through its API and creates cluster-registration-secret |
externalSecret | Cluster registered in a remote Central | An ExternalSecret (External Secrets Operator) creates cluster-registration-secret from a CRS stored in a vault |
none | Secret provided by another process | Nothing is created by the chart |
Hub cluster (Central and SecuredCluster in the same namespace)
acs:
securedCluster:
enabled: true
# name of this cluster in ACS (required), cannot be changed once registered
clusterName: hub
The registration Job:
- waits for the Central admin password (secret
central-htpasswd, keypassword, generated by the operator) and for the Central API (https://central.<namespace>.svc:443/v1/ping) - generates a CRS named
<clusterName>-<timestamp>, optionally limited toregistration.job.maxRegistrationscluster(s) (default0: unlimited, limit needs ACS 4.11+) and to a validity ofregistration.job.validFor(ex:"31536000s", ACS 4.9+) - creates
cluster-registration-secret, owned by theCentralof the chart (deleted with it and its CA), and annotates theSecuredCluster(startx.fr/cluster-registration) so that the operator reconciles it immediately
The Job is idempotent and runs at every ArgoCD sync or helm upgrade:
- a secret it did not create (manual, ExternalSecret) or the init bundle secrets are never modified
- once the cluster is registered (secret
tls-cert-sensorpresent), it exits without calling Central - otherwise it replaces its secret when the CRS was issued by a previous instance of the
Central, has expired, or was revoked or used up in Central
The Job is not a helm hook, helm install does not wait for Central. Its name ends with a hash of its pod
template, so a changed configuration creates a new Job instead of patching an immutable one. Its RBAC is
limited to reading the admin password and registration secrets, creating secrets, replacing
cluster-registration-secret, reading the Central and annotating this SecuredCluster. The admin password
is passed to curl on its standard input, not on its command line. The default image is
registry.redhat.io/openshift4/ose-cli-rhel9:v4.21 (registration.job.image; with the internal registry enabled,
image-registry.openshift-image-registry.svc:5000/openshift/cli:latest follows the cluster release).
Cluster registered in a remote Central (CRS stored in a vault)
Generate the CRS from the hub and store its content in the vault:
roxctl -e central-stackrox.apps.hub.example.com:443 central crs generate prod-1 -o prod-1-crs.yaml
sed -n 's/^ crs: //p' prod-1-crs.yaml | base64 -d > prod-1.crs
vault kv put secret/ocp/acs/prod-1 [email protected]
Then deploy only the secured cluster services on the remote cluster:
externalSecretDefaults:
secretStoreRef:
name: vault # ClusterSecretStore by default
acs:
central:
enabled: false
securedCluster:
enabled: true
clusterName: prod-1
centralEndpoint: central-stackrox.apps.hub.example.com:443
clusterLabels:
env: prod
registration:
mode: externalSecret # or externalSecret.enabled: true, as in the other charts
externalSecret:
remoteRefs:
crs:
key: ocp/acs/prod-1
property: crs
With acs.central.enabled: false, acs.securedCluster.centralEndpoint is required
(central.<namespace>.svc:443 for a Central deployed in the same namespace by another release).
The job mode can also register a remote cluster: the Job then calls acs.securedCluster.centralEndpoint
(or registration.job.centralEndpoint) with the admin password read from the secret set in
registration.job.adminPasswordSecret. The Job does not verify the Central certificate (internal ACS CA),
prefer the externalSecret mode when the API is reached outside the cluster network.
Configuration
| Key | Default | Description |
|---|---|---|
acs.securedCluster.enabled | false | Deploy the SecuredCluster |
acs.securedCluster.hooked | false | Deploy the SecuredCluster in the ArgoCD PostSync phase (always the case when acs.central.hooked is true) |
acs.securedCluster.name | stackrox-secured-cluster-services | Name of the resource, must differ from acs.central.name |
acs.securedCluster.clusterName | required | Name of this cluster in ACS, cannot be changed once registered |
acs.securedCluster.centralEndpoint | "" | Central endpoint (host:port), empty for the Central of the same namespace (required when acs.central.enabled is false) |
acs.securedCluster.clusterLabels | {} | Labels of this cluster in ACS |
acs.securedCluster.admissionControl.enforcement | Enabled | Policy enforcement by the admission controller |
acs.securedCluster.admissionControl.failurePolicy | Ignore | Webhook failure policy (Ignore or Fail) |
acs.securedCluster.perNode.collection | CORE_BPF | Collector collection method (CORE_BPF or NoCollection) |
acs.securedCluster.perNode.taintToleration | TolerateTaints | Run Collector on tainted nodes too |
acs.securedCluster.auditLogs | Auto | Kubernetes audit logs collection |
acs.securedCluster.scanner | AutoSense | Local scanner (not deployed when Central runs in the same namespace) |
acs.securedCluster.scannerV4 | Default | Local Scanner V4 |
acs.securedCluster.spec | "" | Additional SecuredCluster spec (YAML string or map) merged over the generated one |
acs.securedCluster.registration.mode | job | job, externalSecret or none |
acs.securedCluster.registration.job.* | image, centralEndpoint, adminPasswordSecret, maxRegistrations, validFor, timeoutSeconds, ttlSecondsAfterFinished | |
acs.securedCluster.registration.externalSecret | {} | secretStoreRef, refreshInterval, remoteRefs, data, dataFrom, template (key crs required) |
externalSecretDefaults | Default apiVersion, refreshInterval and secretStoreRef of the ExternalSecret |
With acs.infra: true, Sensor, the admission controller and the local scanners run on infra nodes
(Collector keeps running on every node).
Empty values ("") leave the corresponding field to the operator default. Any other field of the
SecuredCluster spec can be set with acs.securedCluster.spec, ex:
acs:
securedCluster:
spec: |
sensor:
resources:
requests:
cpu: 500m
Deployment order and re-registration
With ArgoCD, the Job RBAC is applied in wave 0 (with Central), the Job in wave 1 and the SecuredCluster
in wave 2. When Central or the SecuredCluster is hooked, the Job and the SecuredCluster both run in the
PostSync phase, after Central. acs.securedCluster.hooked only applies to ArgoCD: with helm alone the
SecuredCluster stays a regular release resource (a helm hook could not be upgraded). With helm alone and
acs.central.hooked: true, do not use --wait-for-jobs: helm would wait for the Job before creating Central.
Add /metadata/finalizers of SecuredCluster to the Application ignoreDifferences
(see examples/argocd).
Once registered, Sensor uses its own certificates (secrets tls-cert-*, deleted with the SecuredCluster):
the CRS is only used again when the SecuredCluster is re-created. A CRS limited with maxRegistrations
(or roxctl --max-clusters) is revoked by Central once used. In job mode, the next run of the Job replaces
a revoked, expired or obsolete CRS while the cluster is not registered. To force a new registration, delete
the secret cluster-registration-secret and run the Job again (ArgoCD sync, or helm upgrade once the
previous Job has been removed after ttlSecondsAfterFinished). In
externalSecret mode, update the CRS stored in the vault. CRS generated by the Job are listed with
roxctl central crs list.
Deploy with ArgoCD
Deploy via ArgoCD Application
Deploy cluster-acs using three dedicated ArgoCD Applications - one per concern - all sharing the same AppProject.
The ACS operator installs in the shared openshift-operators namespace. The Central CR deploys in startx-acs:
git clone https://gitlab.com/startx1/helm.git
cd helm-repository/charts/cluster-acs/examples/argocd/
oc apply -k .
The automated sync policy ensures ArgoCD reconciles each concern independently whenever the chart or values drift from the desired state.
History
| Release | Date | Description |
|---|---|---|
| 16.19.59 | 2024-12-09 | Align all chart to the 16.19.59 release |
| 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.14 | 2026-06-18 | Improve cluster-acs options |
| 21.3.15 | 2026-06-18 | update operatorgroup |
| 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 |
Deploy cluster-acs with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cluster-acs 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 chartcluster-acs 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