The minio.ingress config was conflicting with the Bitnami MinIO subchart's own ingress configuration, causing coalesce.go warnings. Renamed to minioIngress as a top-level config. Also enabled minioIngress by default with host minio-orch-dev.common.global.bsf.tools
35 lines
978 B
YAML
35 lines
978 B
YAML
{{- if and .Values.minio.enabled .Values.minioIngress.enabled -}}
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ include "orchard.fullname" . }}-minio
|
|
labels:
|
|
{{- include "orchard.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: minio
|
|
{{- with .Values.minioIngress.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
{{- if .Values.minioIngress.className }}
|
|
ingressClassName: {{ .Values.minioIngress.className }}
|
|
{{- end }}
|
|
{{- if .Values.minioIngress.tls.enabled }}
|
|
tls:
|
|
- hosts:
|
|
- {{ .Values.minioIngress.host | quote }}
|
|
secretName: {{ .Values.minioIngress.tls.secretName }}
|
|
{{- end }}
|
|
rules:
|
|
- host: {{ .Values.minioIngress.host | quote }}
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ .Release.Name }}-minio
|
|
port:
|
|
number: 9000
|
|
{{- end }}
|