From: Erik Brakkee Date: Thu, 22 Sep 2022 20:16:10 +0000 (+0200) Subject: making the /data/web directory available in the pod for publishing static web sites. X-Git-Url: http://wamblee.org/gitweb/?p=pipelinelib;a=commitdiff_plain;h=fdc4df3c2e0e3ba339c0879c86f15b01fb4ffe60 making the /data/web directory available in the pod for publishing static web sites. --- diff --git a/resources/podtemplates/java8.yaml b/resources/podtemplates/java8.yaml index c1ef564..551d625 100644 --- a/resources/podtemplates/java8.yaml +++ b/resources/podtemplates/java8.yaml @@ -12,6 +12,8 @@ spec: - name: jenkins-m2settings mountPath: /home/ci/.m2/settings.xml subPath: settings.xml + - name: web-static + mountPath: /data/www volumes: - name: jenkins-m2repo persistentVolumeClaim: @@ -19,3 +21,6 @@ spec: - name: jenkins-m2settings configMap: name: jenkins-m2settings + - name: web-static + persistentVolumeClaim: + claimName: web-static