From f89370a9bdc39973efba2ef0698d83da9ec89da6 Mon Sep 17 00:00:00 2001 From: Cesar Celis Hernandez Date: Fri, 5 Apr 2024 18:08:41 -0400 Subject: [PATCH] To use port number instead of port name (#2059) --- helm/operator/templates/console-ingress.yaml | 2 +- helm/operator/values.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/helm/operator/templates/console-ingress.yaml b/helm/operator/templates/console-ingress.yaml index bce6c9f1910..a4687151ded 100644 --- a/helm/operator/templates/console-ingress.yaml +++ b/helm/operator/templates/console-ingress.yaml @@ -35,6 +35,6 @@ spec: service: name: "console" port: - name: http + number: {{ .Values.console.ingress.number }} {{- end }} {{- end }} diff --git a/helm/operator/values.yaml b/helm/operator/values.yaml index cdbeb19121f..614b9fb48aa 100644 --- a/helm/operator/values.yaml +++ b/helm/operator/values.yaml @@ -24,9 +24,12 @@ operator: # value: "OpenShift" # # See `Operator environment variables `__ 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: [] ### @@ -280,6 +283,8 @@ console: # Configures `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: "" @@ -289,6 +294,7 @@ console: host: console.local path: / pathType: Prefix + number: 9090 ### # An array of `Volumes `__ which the Operator Console can mount to pods. #