diff --git a/roles/fas_server/templates/configmap.yml b/roles/fas_server/templates/configmap.yml index b974d804c1..d5f7785c0a 100644 --- a/roles/fas_server/templates/configmap.yml +++ b/roles/fas_server/templates/configmap.yml @@ -40,7 +40,7 @@ data: ln -s /etc/httpd/modules /httpdir/modules truncate --size=0 /httpdir/accesslog /httpdir/errorlog tail -qf /httpdir/accesslog /httpdir/errorlog & - exec /usr/sbin/httpd.worker -f /etc/fas/httpd.conf -DFOREGROUND -DNO_DETACH + exec /usr/sbin/httpd.worker -f /etc/fas/static_httpd.conf -DFOREGROUND -DNO_DETACH static_httpd.conf: |- Listen 0.0.0.0:8080 ServerRoot "/httpdir" diff --git a/roles/openshift-apps/fas/templates/deploymentconfig-fas.yml b/roles/openshift-apps/fas/templates/deploymentconfig-fas.yml index 2dadcc68ef..9f85870d49 100644 --- a/roles/openshift-apps/fas/templates/deploymentconfig-fas.yml +++ b/roles/openshift-apps/fas/templates/deploymentconfig-fas.yml @@ -64,6 +64,9 @@ spec: ports: - containerPort: 8080 volumeMounts: + - name: config-volume + mountPath: /etc/fas + readOnly: true - name: httpdir-volume mountPath: /httpdir readinessProbe: @@ -95,6 +98,7 @@ spec: automatic: true containerNames: - fas + - static from: kind: ImageStreamTag name: fas:latest