Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
MavenSettingsSecurityXML added to templates and values file (#4910)
Browse files Browse the repository at this point in the history
*   MavenSettingsSecurityXML: added to template and values files

* polish
  • Loading branch information
almerico authored and jstrachan committed Mar 13, 2019
1 parent b898a62 commit 5d25a97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/maven-settings-secret.yaml
Expand Up @@ -5,6 +5,9 @@ data:
{{- else }}
settings.xml: ""
{{- end }}
{{- if .Values.PipelineSecrets.MavenSettingsSecurityXML }}
settings-security.xml: {{ .Values.PipelineSecrets.MavenSettingsSecurityXML | b64enc | quote }}
{{- end }}
kind: Secret
metadata:
name: jenkins-maven-settings
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Expand Up @@ -1843,6 +1843,7 @@ PipelineSecrets:
User git
IdentityFile /root/.ssh-git/ssh-key
StrictHostKeyChecking no
MavenSettingsSecurityXML:
MavenSettingsXML: |-
<settings>
<!-- sets the local maven repository outside of the ~/.m2 folder for easier mounting of secrets and repo -->
Expand Down

0 comments on commit 5d25a97

Please sign in to comment.