Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

ConfigMap error in dancer-ex on OpenShift 4.5

by elfner (Initiate)
on Nov 21, 2020 at 18:51 UTC ( [id://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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-03-19 07:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found