Skip to content

Instantly share code, notes, and snippets.

@ralvares
Last active December 5, 2024 06:56
Show Gist options
  • Save ralvares/ab8f7b4665151036d363bcf7b776fef2 to your computer and use it in GitHub Desktop.
Save ralvares/ab8f7b4665151036d363bcf7b776fef2 to your computer and use it in GitHub Desktop.
central-4.6.yaml
apiVersion: platform.stackrox.io/v1alpha1
kind: Central
metadata:
name: stackrox-central-services
namespace: stackrox
spec:
customize:
envVars:
- name: ROX_EXTERNAL_IPS
value: 'true'
- name: ROX_NETWORK_GRAPH_EXTERNAL_IPS
value: 'true'
central:
db:
connectionPoolSize:
maxConnections: 90
minConnections: 10
isEnabled: Default
persistence:
persistentVolumeClaim:
claimName: central-db
resources:
requests:
cpu: 100m
memory: 50Mi
exposure:
loadBalancer:
enabled: false
port: 443
nodePort:
enabled: false
route:
enabled: true
monitoring:
exposeEndpoint: Disabled
notifierSecretsEncryption:
enabled: false
persistence:
persistentVolumeClaim:
claimName: stackrox-db
resources:
requests:
cpu: 100m
memory: 50Mi
telemetry:
enabled: true
configAsCode:
configAsCodeComponent: Enabled
egress:
connectivityPolicy: Online
monitoring:
openshift:
enabled: true
network:
policies: Enabled
scanner:
analyzer:
resources:
requests:
cpu: 100m
memory: 50Mi
scaling:
autoScaling: Enabled
maxReplicas: 2
minReplicas: 1
replicas: 1
db:
resources:
requests:
cpu: 100m
memory: 50Mi
scannerComponent: Enabled
scannerV4:
db:
persistence:
persistentVolumeClaim:
claimName: scanner-v4-db
resources:
requests:
cpu: 100m
memory: 50Mi
indexer:
resources:
requests:
cpu: 100m
memory: 50Mi
scaling:
autoScaling: Enabled
maxReplicas: 2
minReplicas: 1
replicas: 1
matcher:
resources:
requests:
cpu: 100m
memory: 50Mi
scaling:
autoScaling: Enabled
maxReplicas: 2
minReplicas: 1
replicas: 1
scannerComponent: Enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment