Add conditional TLS support for the Ingress in the Helm chart. #9345
parent
482549b951
commit
27779370d8
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue