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

To use port number instead of port name #2059

Merged
merged 1 commit into from
Apr 5, 2024
Merged
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
2 changes: 1 addition & 1 deletion helm/operator/templates/console-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ spec:
service:
name: "console"
port:
name: http
number: {{ .Values.console.ingress.number }}
{{- end }}
{{- end }}
6 changes: 6 additions & 0 deletions helm/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ operator:
# value: "OpenShift"
#
# See `Operator environment variables <https://github.com/minio/operator/blob/master/docs/env-variables.md>`__ for a list of all supported values.
# If MINIO_CONSOLE_TLS_ENABLE is enabled, utilize port 9443 for console.ingress.number.
env:
- name: OPERATOR_STS_ENABLED
value: "on"
- name: MINIO_CONSOLE_TLS_ENABLE
value: "off"
# An array of additional annotations to be applied to the operator service account
serviceAccountAnnotations: []
###
Expand Down Expand Up @@ -280,6 +283,8 @@ console:
# Configures `Ingress <https://kubernetes.io/docs/concepts/services-networking/ingress/>`__ for the Operator Console.
#
# Set the keys to conform to the Ingress controller and configuration of your choice.
# Set console.ingress.number to any port. For example:
# You may choose port number 9443 for HTTPS or 9090 for HTTP, as desired.
ingress:
enabled: false
ingressClassName: ""
Expand All @@ -289,6 +294,7 @@ console:
host: console.local
path: /
pathType: Prefix
number: 9090
###
# An array of `Volumes <https://kubernetes.io/docs/concepts/storage/volumes/>`__ which the Operator Console can mount to pods.
#
Expand Down
Loading