mirror of
https://github.com/truenas/charts.git
synced 2026-04-24 18:41:41 +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
20 lines
727 B
YAML
20 lines
727 B
YAML
{{- include "ix.v1.common.loader.init" . -}}
|
|
|
|
{{/* Run the validation */}}
|
|
{{- include "jenkins.validation" $ -}}
|
|
|
|
{{/* Generate a new random pass on each start to password protect certificate */}}
|
|
{{- if .Values.jenkinsNetwork.certificateID -}}
|
|
{{- $_ := set .Values "jenkinsCertRandomPass" (randAlphaNum 32) -}}
|
|
{{- else if .Values.jenkinsCertRandomPass -}} {{/* Cleanup if no cert is defined */}}
|
|
{{- $_ := unset .Values "jenkinsCertRandomPass" -}}
|
|
{{- end -}}
|
|
|
|
{{/* Merge the templates with Values */}}
|
|
{{- $_ := mustMergeOverwrite .Values (include "jenkins.workload" $ | fromYaml) -}}
|
|
|
|
{{/* Create the configmap for portal manually*/}}
|
|
{{- include "jenkins.portal" $ -}}
|
|
|
|
{{- include "ix.v1.common.loader.apply" . -}}
|