-
Notifications
You must be signed in to change notification settings - Fork 456
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
HTTPS not working for operator console when deployed with Helm chart #1984
Comments
There is a PR coming that may fix this issue |
could you elaborate further? I believe by setting |
I think I see the issue now:
We are indeed hardcoding
While at the same time, tenant can use
So in conclusion, I will look the way to change from |
Expected Behavior
When I install minio via helm chart from https://operator.min.io/, I would expect an easy way to make HTTPS working for the operator console.
Current Behavior
Possible Solution
volumes:
- name: tmp
emptyDir: {}
# This is crucial for HTTPS
- name: tls-certificates
projected:
defaultMode: 420
sources:
- secret:
items:
- key: public.crt
path: public.crt
- key: public.crt
path: CAs/public.crt
- key: private.key
path: private.key
- key: tls.crt
path: tls.crt
- key: tls.crt
path: CAs/tls.crt
- key: tls.key
path: tls.key
name: console-tls
optional: true
volumeMounts:
- name: tmp
readOnly: false
mountPath: /tmp/certs/CAs
# This is crucial for HTTPS
- name: tls-certificates
readOnly: true
mountPath: /tmp/certs
Context
I must use HTTPS for cluster internal communication.
It was pretty hard to figure out how to do it for the minio operator console!
To mount the volumes, it can be done via a custom-values.yaml, but finding the correct configuration was a hassle.
For changing the ingress controller to target the https port instead of the http port, I had to add a patch command after the deployment in my deplyoment script.
Here it is for anybody with the same problem:
kubectl patch ingress minio-operator-console --type=json -p='[{"op": "replace", "path": "/spec/rules/0/http/paths/0/backend/service/port/name", "value": "https"}]' -n minio-operator
Your Environment
minio-operator
): v5.0.12The text was updated successfully, but these errors were encountered: