Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

ConfigMap error in dancer-ex on OpenShift 4.5

by elfner (Initiate)
on Nov 21, 2020 at 18:51 UTC ( #11123990=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11123990]
Approved by Corion
Front-paged by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-12-03 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (52 votes). Check out past polls.

    Notices?