mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 16:17:21 +08:00
[bitnami/nginx] Allow ingress extra paths to be set for host configuration (#3573)
* allow for extra paths to be set for alb annotations * linting * minor instead of patch version bump
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: nginx
|
||||
version: 6.1.0
|
||||
version: 6.2.0
|
||||
appVersion: 1.19.1
|
||||
description: Chart for the nginx server
|
||||
keywords:
|
||||
|
||||
@@ -116,6 +116,7 @@ The following tables lists the configurable parameters of the NGINX Open Source
|
||||
| `ingress.annotations` | Ingress annotations | `[]` |
|
||||
| `ingress.hosts[0].name` | Hostname to your NGINX installation | `nginx.local` |
|
||||
| `ingress.hosts[0].path` | Path within the url structure | `/` |
|
||||
| `ingress.hosts[0].extraPaths` | Ingress extra paths to prepend to every host configuration. Useful when configuring [custom actions with AWS ALB Ingress Controller](https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/#actions). | `[]` |
|
||||
| `ingress.tls[0].hosts[0]` | TLS hosts | `nginx.local` |
|
||||
| `ingress.tls[0].secretName` | TLS Secret (certificates) | `nginx.local-tls` |
|
||||
| `ingress.secrets[0].name` | TLS Secret Name | `nil` |
|
||||
|
||||
@@ -26,6 +26,12 @@ spec:
|
||||
- host: {{ .name }}
|
||||
http:
|
||||
paths:
|
||||
{{- range .extraPaths }}
|
||||
- path: {{ .path }}
|
||||
backend:
|
||||
serviceName: {{ .backend.serviceName }}
|
||||
servicePort: {{ .backend.servicePort }}
|
||||
{{- end }}
|
||||
- path: {{ default "/" .path }}
|
||||
backend:
|
||||
serviceName: "{{ template "nginx.fullname" $ }}"
|
||||
|
||||
@@ -370,6 +370,15 @@ ingress:
|
||||
- example.local
|
||||
secretName: example.local-tls
|
||||
|
||||
hosts:
|
||||
|
||||
## Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
|
||||
extraPaths: []
|
||||
# - path: /*
|
||||
# backend:
|
||||
# serviceName: ssl-redirect
|
||||
# servicePort: use-annotation
|
||||
|
||||
|
||||
healthIngress:
|
||||
## Set to true to enable health ingress record generation
|
||||
|
||||
Reference in New Issue
Block a user