Skip to content

Instantly share code, notes, and snippets.

@ralvares
Created February 17, 2023 09:17
Show Gist options
  • Save ralvares/131307df17a007d189639dba5158ccba to your computer and use it in GitHub Desktop.
Save ralvares/131307df17a007d189639dba5158ccba to your computer and use it in GitHub Desktop.
rhacs yaml definition adding proxy configuration
apiVersion: platform.stackrox.io/v1alpha1
kind: SecuredCluster
metadata:
name: stackrox-secured-cluster-services
namespace: stackrox
spec:
admissionControl:
bypass: BreakGlassAnnotation
contactImageScanners: DoNotScanInline
listenOnCreates: true
listenOnEvents: true
listenOnUpdates: true
timeoutSeconds: 20
auditLogs:
collection: Auto
centralEndpoint: 'central-stackrox.apps.ocp.demo.com:443'
clusterName: development
customize:
envVars:
- name: HTTP_PROXY
value: 'http://proxy.local:8080'
- name: HTTPS_PROXY
value: 'http://proxy.local:8080'
- name: NO_PROXY
value: '*.svc,*.local,10.217.4.1'
perNode:
collector:
collection: EBPF
imageFlavor: Regular
taintToleration: TolerateTaints
scanner:
analyzer:
scaling:
autoScaling: Enabled
maxReplicas: 5
minReplicas: 2
replicas: 3
scannerComponent: AutoSense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment