Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 6 additions & 0 deletions pkg/helm/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 2 additions & 1 deletion pkg/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading