Skip to content

Commit

Permalink
add-opens for RMI / JMX
Browse files Browse the repository at this point in the history
  • Loading branch information
portswigger-tim committed Jan 18, 2024
1 parent c8b7a59 commit e96c679
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/scan-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0-alpha-3
version: 0.1.0-alpha-4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 3 additions & 3 deletions charts/scan-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ scanner:
-XX:InitialRAMPercentage=60
-XX:MaxRAMPercentage=60
{{- if .Values.scanner.jmxMetrics.enabled }}
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.port={{ .Values.scanner.jmxMetrics.jmxPort }}
-Dcom.sun.management.jmxremote.rmi.port={{ .Values.scanner.jmxMetrics.rmiPort }}
--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
--add-opens=java.management/sun.management=ALL-UNNAMED
-Dcom.sun.management.jmxremote.local.only=false
-Djava.rmi.server.hostname=localhost
{{- end }}
envFrom:
- secretRef:
Expand Down

0 comments on commit e96c679

Please sign in to comment.