Files
chart/library/ix-dev/community/jenkins/templates/common.yaml
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

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