You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`ingress.enabled` | If `true`, an ingress is created | `false`
72
72
`ingress.annotations` | Annotations for the ingress | `{}`
73
73
`ingress.labels` | Labels for the ingress | `{}`
74
-
`ingress.hosts` | A list of ingress hosts | `{ host: mailhog.example.com, paths: ["/"] }`
74
+
`ingress.hosts` | A list of ingress hosts | `{ host: mailhog.example.com, paths: [{ path: "/", pathType: Prefix }] }`
75
75
`ingress.tls` | A list of [IngressTLS](https://v1-8.docs.kubernetes.io/docs/api-reference/v1.8/#ingresstls-v1beta1-extensions) items | `[]`
76
76
`extraEnv` | Additional environment variables, see [CONFIG.md](https://github.com/mailhog/MailHog/blob/master/docs/CONFIG.md) | `{}`
77
+
78
+
## Upgrading
79
+
80
+
### From chart < 5.0.0
81
+
82
+
Ingress path definitions are extended to describe path and pathType. Previously only the path was configured. Please adapt your configuration as shown below:
83
+
84
+
Old:
85
+
```yaml
86
+
ingress:
87
+
# ...
88
+
hosts:
89
+
- host: mailhog.example.com
90
+
# Paths for the host
91
+
paths:
92
+
- /
93
+
```
94
+
New:
95
+
```yaml
96
+
ingress:
97
+
# ...
98
+
hosts:
99
+
- host: mailhog.example.com
100
+
# Paths for the host
101
+
paths:
102
+
- path: /
103
+
pathType: Prefix
104
+
```
105
+
106
+
This allows to configure specific `pathType` configurations, e.g. `pathType: ImplementationSpecific` for [GKE Ingress on Google Cloud Platform](https://cloud.google.com/kubernetes-engine/docs/concepts/ingress#default_backend).
0 commit comments