Files
chart/library/ix-dev/community/jenkins/templates/_portal.tpl
Stavros Kois 7cb307d254 NAS-122335 / 23.10 / Add jenkins to community train (#1245)
* Add `Jenkins` to `community` train

* add another combo test

* update wording

* change custom flag

* remove space

* disable http when https is enabled

* unique ports
2023-06-10 22:42:03 +03:00

17 lines
350 B
Smarty

{{- define "jenkins.portal" -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: portal
data:
{{- $protocol := "http" -}}
{{- if .Values.jenkinsNetwork.certificateID -}}
{{- $protocol = "https" -}}
{{- end }}
path: "/login"
host: $node_ip
protocol: {{ $protocol }}
port: {{ .Values.jenkinsNetwork.webPort | quote }}
{{- end -}}