Skip to content

Commit

Permalink
To use port number instead of port name (#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
cniackz authored Apr 5, 2024
1 parent a879d3d commit f89370a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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

0 comments on commit f89370a

Please sign in to comment.