{{- if eq $.Values.global.yonote.ingress.ingressClassName "traefik" }}
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: yonote-onprem-redirect-https
spec:
redirectScheme:
scheme: https
permanent: true
{{- end }}