How to create the Vanity CRL/AIA mapping files inside sidecar reverse proxy container? #1044
|
Hello, I am trying to setup the httpd reverse proxy sidecar container with an external config for httpd.conf to make use of the rewritemap files "txt:/etc/httpd/rewriteMaps/crlmapping.txt" and "txt:/etc/httpd/rewriteMaps/aiamapping.txt" as described in the configmap example [https://artifacthub.io/packages/helm/ejbca/ejbca-ce?modal=template&template=httpd-configmap.yaml]. However, the files are missing and, therefore, the container won't start: kubectl logs pods/ejbca-ejbca-ce-0 -c ejbca-ce-httpd --namespace ejbca-k8s shows a syntax error in httpd.conf AH00526: Syntax error on line 84 of /usr/local/apache2/conf/httpd.conf: I am wondering how to create these files inside the container or am I missing something? BR |
Replies: 1 comment 1 reply
|
You need to mount the Unfortunately, we do not have support for custom file mounts for the proxy sidecars. But community contribution is always welcome. You may add it by following the example how these TLS certificates are being mounted e.g. |
You need to mount the
crlmapping.txtin the container.Unfortunately, we do not have support for custom file mounts for the proxy sidecars. But community contribution is always welcome.
You may add it by following the example how these TLS certificates are being mounted e.g.
- name: httpd-cert-provided mountPath: /etc/httpd/ssl/pem/note that you need to adjust for
volumeMountat each container andvolumefor the full StatefulSet. There is alreadyejbca.volumesandejbca.volumeMountsin Helm chart. You may add similarly tohttpdsection.