mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-17 16:34:44 -05:00
Add conditional TLS support for the Ingress in the Helm chart. #9345
This commit is contained in:
@@ -39,3 +39,4 @@ The chart should dump its version and appVersion in the Chart.yaml file every re
|
||||
| `service.loadBalancerIP` | Load balancer IP (Only if service.type is LoadBalancer) | `""` |
|
||||
| `ingress.enabled` | Ingress resource creation | `false` |
|
||||
| `ingress.hostname` | Ingress resource hostname | `"pgadmin4.local"` |
|
||||
| `ingress.tlsSecret` | Ingress tls secret name | `""` |
|
||||
|
||||
@@ -21,4 +21,10 @@ spec:
|
||||
name: http
|
||||
path: /
|
||||
pathType: Prefix
|
||||
{{- if .Values.ingress.tlsSecret }}
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ tpl .Values.ingress.hostname . }}
|
||||
secretName: {{ .Values.ingress.tlsSecret }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -98,7 +98,8 @@ ingress:
|
||||
enabled: false
|
||||
hostname: pgadmin4.local
|
||||
annotations: {}
|
||||
|
||||
# If set, enables TLS configuration in the Ingress resource.
|
||||
tlsSecret: ""
|
||||
startupProbe:
|
||||
enabled: false
|
||||
httpGet:
|
||||
|
||||
Reference in New Issue
Block a user