Add conditional TLS support for the Ingress in the Helm chart. #9345

This commit is contained in:
Nicolas Boulard
2025-11-21 12:08:22 +05:30
committed by GitHub
parent 482549b951
commit 27779370d8
3 changed files with 9 additions and 1 deletions
+1
View File
@@ -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 | `""` |
+6
View File
@@ -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 }}
+2 -1
View File
@@ -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: