-
Notifications
You must be signed in to change notification settings - Fork 2
/
juicer.yaml
79 lines (75 loc) · 4.13 KB
/
juicer.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Override values for MultiJuicer.
# See defaults at https://github.com/juice-shop/multi-juicer/blob/main/helm/multi-juicer/values.yaml
# See production recommendations at https://github.com/juice-shop/multi-juicer/blob/main/guides/production-notes/production-notes.md
# Certain values in this file, such as secrets, are overridden by the `manage-multijuicer.sh` script
balancer:
cookie:
# SET THIS TO TRUE IF IN PRODUCTION
# Sets secure Flag in cookie
# -- Sets the secure attribute on cookie so that it only be send over https
secure: true
# -- Set this to a fixed random alpa-numeric string (recommended length 24 chars). If not set this get randomly generated with every helm upgrade, each rotation invalidates all active cookies / sessions requirering users to login again.
cookieParserSecret: null
# -- Number of replicas of the juice-balancer deployment
replicas: 3
service:
# -- list of IP CIDRs allowed access to lb (if supported)
loadBalancerSourceRanges: null
# -- If set to true this skips setting ownerReferences on the teams JuiceShop Deployment and Services. This lets MultiJuicer run in older kubernetes cluster which don't support the reference type or the app/v1 deployment type
skipOwnerReference: false
metrics:
# -- enables prometheus metrics for the balancer. If set to true you should change the prometheus-scraper password
enabled: false
dashboards:
# -- if true, creates a Grafana Dashboard Config Map. (also requires metrics.enabled to be true). These will automatically be imported by Grafana when using the Grafana helm chart, see: https://github.com/helm/charts/tree/main/stable/grafana#sidecar-for-dashboards
enabled: false
serviceMonitor:
# -- If true, creates a Prometheus Operator ServiceMonitor (also requires metrics.enabled to be true). This will also deploy a servicemonitor which monitors metrics from the Juice Shop instances
enabled: false
basicAuth:
username: prometheus-scraper
# -- Should be changed when metrics are enabled. Overridden with --set in the manage-multijuicer.sh script.
password: null
juiceShop:
# -- Specifies how many JuiceShop instances MultiJuicer should start at max. Set to -1 to remove the max Juice Shop instance cap
maxInstances: 5
tag: v15.3.0
# -- Change the key when hosting a CTF event. This key gets used to generate the challenge flags. See: https://pwning.owasp-juice.shop/companion-guide/latest/part4/ctf.html#_overriding_the_ctf_key
ctfKey: null
# -- Specify a custom Juice Shop config.yaml. See the JuiceShop Config Docs for more detail: https://pwning.owasp-juice.shop/companion-guide/latest/part4/customization.html#_yaml_configuration_file
config: |
application:
name: 'OWASP JuiceShop'
logo: https://raw.githubusercontent.com/juice-shop/multi-juicer/main/images/multijuicer-icon-only-padding.png
favicon: https://raw.githubusercontent.com/juice-shop/multi-juicer/main/juice-balancer/ui/public/favicon.ico
theme: bluegrey-lightgreen
showVersionNumber: false
showGitHubLinks: false
altcoinName: Juicycoin
privacyContactEmail: [email protected]
welcomeBanner:
title: 'Welcome to OWASP Juice Shop!'
securityTxt:
contact: mailto:[email protected]
encryption: ''
acknowledgements: ''
challenges:
showSolvedNotifications: true
showHints: true
showMitigations: true
codingChallengesEnabled: 'solved'
restrictToTutorialsFirst: false
overwriteUrlForProductTamperingChallenge: https://owasp.slack.com
safetyOverride: false
showFeedbackButtons: false
hackingInstructor:
isEnabled: true
ctf:
showFlagsInNotifications: true
# -- Specify a custom NODE_ENV for JuiceShop. If value is changed to something other than 'multi-juicer' it's not possible to set a custom config via `juiceShop.config`.
nodeEnv: "multi-juicer"
# Deletes unused JuiceShop instances after a configurable period of inactivity
juiceShopCleanup:
enabled: true
# -- Specifies when Juice Shop instances will be deleted when unused for that period.
gracePeriod: 1d