Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stable/minio] allow ingress to have empty host (helm#21315)
Allow enabling ingress with a host not set. Currently, it's not possible if we want to enable ingress, but does not want to set a host for the ingress rule. With this patch, if you set the host to be an empty string, the host field in the Ingress rule won't be set, allowing all inbound traffic regardless of the host used. Tested with this values: ```yaml ingress: enabled: true hosts: - "" ``` ```bash $ helm template . myvalues.yaml ... kind: Ingress metadata: name: release-name-minio labels: app: minio chart: minio-5.0.12 release: release-name heritage: Tiller spec: rules: - http: paths: - path: / backend: serviceName: release-name-minio servicePort: 9000 ``` Signed-off-by: Jie Yu <yujie.jay@gmail.com>
- Loading branch information