elfner has asked for the wisdom of the Perl Monks concerning the following question:

Hi - using dancer-ex from github with Openshift 4.5, my pod blows up when adding a ConfigMap.

The error shows as:

$ oc logs -f dancer1-7cc875b4b6-k6kkn
Sat Nov 21 17:46:07.425660 2020 so:warn pid 1 AH01574: module perl_module is already loaded, skipping
AH00526: Syntax error on line 46 of /opt/app-root/etc/httpd.d/env.conf:
PerlPassEnv takes one argument, PerlPassEnv

The ConfigMap file itself is trivial:

$ cat filterPatterns 
pattern1=foo
pattern2=bar

Anyone have any tips for doing this successfully? (i.e. leverage Kubernetes ConfigMaps with a Perl Dancer framework app)

Appreiciate any insight - thanks.
  • Comment on ConfigMap error in dancer-ex on OpenShift 4.5