mirror of
https://github.com/truenas/charts.git
synced 2026-05-16 14:12:59 +08:00
* Add `Jenkins` to `community` train * add another combo test * update wording * change custom flag * remove space * disable http when https is enabled * unique ports
17 lines
350 B
Smarty
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 -}}
|