Browse Source

fix acs policy + hpa

pull/1/head
Nicolas Massé 3 years ago
parent
commit
3cb151ccd1
  1. 9
      infrastructure/files/stackrox-configure-hook/configure.yaml
  2. 8
      infrastructure/templates/acs.yaml

9
infrastructure/files/stackrox-configure-hook/configure.yaml

@ -185,7 +185,14 @@
scope: scope:
- cluster: - cluster:
label: label:
namespace: dev key: app
value: fruits
namespace: fruits-test
- cluster:
label:
key: app
value: fruits
namespace: fruits-prod
severity: CRITICAL_SEVERITY severity: CRITICAL_SEVERITY
- set_fact: - set_fact:

8
infrastructure/templates/acs.yaml

@ -97,9 +97,7 @@ spec:
scanner: scanner:
analyzer: analyzer:
scaling: scaling:
autoScaling: Enabled autoScaling: Disabled
maxReplicas: 5
minReplicas: 2
replicas: 3 replicas: 3
scannerComponent: Enabled scannerComponent: Enabled
--- ---
@ -287,3 +285,7 @@ spec:
configMap: configMap:
name: stackrox-configure-hook name: stackrox-configure-hook
defaultMode: 0755 defaultMode: 0755
---
# TODO:
# - scale down the ACS operator
# - patch the central route to Reencrypt

Loading…
Cancel
Save