Skip to content

Commit

Permalink
set jmx value when enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
pminz committed Aug 21, 2024
1 parent 0d543e4 commit 25ef948
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ spec:
- --logging-config=/etc/config/log4j2.xml
- --bind-address=0.0.0.0
- -Djgroups.dns.query={{ printf "%s-ping.%s.svc.%s" (include "infinispan-helm-charts.name" .) .Release.Namespace .Values.deploy.clusterDomain }}
{{- if .Values.deploy.jmx.enabled }}
- --jmx 9999
{{- end }}
ports:
- containerPort: 8888
name: ping
Expand All @@ -95,11 +97,11 @@ spec:
- containerPort: 11223
name: infinispan-met
protocol: TCP
{{if .Values.deploy.jmx.enabled }}
{{- if .Values.deploy.jmx.enabled }}
- containerPort: 9999
name: jmx
protocol: TCP
{{- end }}
{{- end }}
livenessProbe:
failureThreshold: 5
httpGet:
Expand Down

0 comments on commit 25ef948

Please sign in to comment.