mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-19 01:15:04 -05:00
Add Gateway API HTTPRoute support to the Helm chart (#10095)
Add an opt-in Gateway API HTTPRoute template to the Helm chart as an alternative to the existing Ingress, addressing #9942. It is disabled by default (httpRoute.enabled: false) so existing installs are unaffected. The template mirrors the existing ingress.yaml conventions: the pgadmin4.fullname backend, commonLabels/commonAnnotations propagation, and a hostname that falls back to ingress.hostname when httpRoute.hostnames is unset. parentRefs is required (a fail guard fires when it is empty), apiVersion defaults to gateway.networking.k8s.io/v1, and the default rule forwards "/" (PathPrefix) to the pgAdmin service. Custom hostnames and rules can be supplied for full control. The new values are documented in the chart README.
This commit is contained in:
@@ -40,6 +40,12 @@ The chart should dump its version and appVersion in the Chart.yaml file every re
|
||||
| `ingress.enabled` | Ingress resource creation | `false` |
|
||||
| `ingress.hostname` | Ingress resource hostname | `"pgadmin4.local"` |
|
||||
| `ingress.tlsSecret` | Ingress tls secret name | `""` |
|
||||
| `httpRoute.enabled` | Gateway API HTTPRoute resource creation | `false` |
|
||||
| `httpRoute.apiVersion` | HTTPRoute apiVersion (override for v1beta1 implementations) | `"gateway.networking.k8s.io/v1"` |
|
||||
| `httpRoute.parentRefs` | Gateway(s) the route attaches to (required when `httpRoute.enabled` is true) | `[]` |
|
||||
| `httpRoute.hostnames` | HTTPRoute hostnames (falls back to `ingress.hostname` when empty) | `[]` |
|
||||
| `httpRoute.annotations` | HTTPRoute annotations | `{}` |
|
||||
| `httpRoute.rules` | Custom routing rules (defaults to a single `/` PathPrefix rule to the service) | `[]` |
|
||||
| `strategy.type` | Deployment strategy type (RollingUpdate or Recreate) | Kubernetes default (RollingUpdate) |
|
||||
| `strategy.rollingUpdate.maxSurge` | Maximum number of pods that can be created over the desired replicas | Kubernetes default (25%) |
|
||||
| `strategy.rollingUpdate.maxUnavailable` | Maximum number of pods that can be unavailable during the update | Kubernetes default (25%) |
|
||||
|
||||
Reference in New Issue
Block a user