mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 15:20:09 +08:00
* add `pgadmin` to `community` train * add readme's * metadata * add templates and values * update metadat
17 lines
345 B
Smarty
17 lines
345 B
Smarty
{{- define "pgadmin.portal" -}}
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: portal
|
|
data:
|
|
{{- $protocol := "http" -}}
|
|
{{- if .Values.pgadminNetwork.certificateID -}}
|
|
{{- $protocol = "https" -}}
|
|
{{- end }}
|
|
path: "/"
|
|
port: {{ .Values.pgadminNetwork.webPort | quote }}
|
|
protocol: {{ $protocol }}
|
|
host: $node_ip
|
|
{{- end -}}
|