Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to use custom ports for mancenter #409 #415

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions stable/hazelcast/templates/mancenter-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,12 @@ spec:
resources:
{{ toYaml .Values.mancenter.resources | indent 10 }}
ports:
{{- if .Values.customPorts }}
{{ toYaml .Values.customPorts | indent 8 }}
{{- else }}
- name: mancenter
containerPort: {{ if .Values.mancenter.ssl }}8443{{ else }}8080{{ end }}
{{- end }}
{{- if .Values.mancenter.livenessProbe.enabled }}
livenessProbe:
httpGet:
Expand Down
2 changes: 2 additions & 0 deletions stable/hazelcast/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ mancenter:
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
# pullSecrets:
# - myRegistryKeySecretName
# customPorts is the whole ports section to customize how Hazelcast management center container ports are defined
# customPorts:

# Dev mode is for the Hazelcast clusters running on your local for development
# or evaluation purposes and it provides quick access to the Management Center without requiring any security credentials
Expand Down