Files
chart/library/ix-dev/community/pgadmin/templates/_portal.tpl
Stavros Kois d7a011168f NAS-123129 / 23.10 / add pgadmin to community train (#1387)
* add `pgadmin` to `community` train

* add readme's

* metadata

* add  templates and values

* update metadat
2023-07-21 19:43:28 +03:00

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 -}}