Skip to content

Commit

Permalink
use correct path for httpd config virtualhost
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Jun 12, 2024
1 parent 37f3c10 commit 1bcf046
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion apache-mod-mellon/templates/apache-depl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ spec:
- name: apache
image: ghcr.io/camptocamp/inrae-docker-images/apache-mod-mellon:2.4
imagePullPolicy: Always
ports:
- containerPort: 80
name: http
livenessProbe:
httpGet:
path: /
Expand All @@ -31,7 +34,7 @@ spec:
timeoutSeconds: 5
volumeMounts:
- name: virtualhost-config
mountPath: /etc/apache2/sites-available/000-default.conf
mountPath: /usr/local/apache2/conf/extra/000-default.conf
subPath: 000-default.conf
- name: mod-mellon-config
mountPath: /etc/mod-mellon-config
Expand Down
2 changes: 1 addition & 1 deletion apache-mod-mellon/templates/apache-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: http
protocol: TCP
selector:
{{- include "apache-mod-mellon.selectorLabels" . | nindent 4 }}-apache-depl

0 comments on commit 1bcf046

Please sign in to comment.