common.yaml 727 B

12345678910111213141516171819
  1. {{- include "ix.v1.common.loader.init" . -}}
  2. {{/* Run the validation */}}
  3. {{- include "jenkins.validation" $ -}}
  4. {{/* Generate a new random pass on each start to password protect certificate */}}
  5. {{- if .Values.jenkinsNetwork.certificateID -}}
  6. {{- $_ := set .Values "jenkinsCertRandomPass" (randAlphaNum 32) -}}
  7. {{- else if .Values.jenkinsCertRandomPass -}} {{/* Cleanup if no cert is defined */}}
  8. {{- $_ := unset .Values "jenkinsCertRandomPass" -}}
  9. {{- end -}}
  10. {{/* Merge the templates with Values */}}
  11. {{- $_ := mustMergeOverwrite .Values (include "jenkins.workload" $ | fromYaml) -}}
  12. {{/* Create the configmap for portal manually*/}}
  13. {{- include "jenkins.portal" $ -}}
  14. {{- include "ix.v1.common.loader.apply" . -}}