stackrox-chart
Helm chartv0.0.10
Install and Configure Stackrox
About this chart
stackrox chart
Installs the ACS/Stackrox Operator, configures a Central instance and a SecuredCluster. Uses a Job for initialization work. Set --set verbose=true to see verbose job logs.
Production:
helm repo add redhat-cop https://redhat-cop.github.io/helm-charts
helm install stackrox redhat-cop/stackrox-chart
Debug/Development:
helm upgrade --install stackrox . --namespace tl500 --debug
You can watch the logs of the init job:
stern -n stackrox configure-stackrox-
StackRox WebUI credentials (user is "admin")
# get web url
echo https://$(oc -n stackrox get route central --template='{{ .spec.host }}')
# get credentials
echo $(oc -n stackrox get secret central-htpasswd -o go-template='{{index .data "password" | base64decode}}')
Stores the Admin API Token created whilst creating the SecuredCluster in a secret for later use
ROX_API_TOKEN=$(oc -n stackrox get secret rox-api-token-tl500 -o go-template='{{index .data "token" | base64decode}}')
Deploy stackrox-chart with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has stackrox-chart 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 chartstackrox-chart is pinned at v0.0.10 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