Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.1 version of s2i-php-container web server user does not get the environment variables (env) secrets from Openshift #402

Closed
olstjos opened this issue Mar 15, 2023 · 2 comments

Comments

@olstjos
Copy link

olstjos commented Mar 15, 2023

Ok so I've tested 8.1, and have found the following:

Our secret environment variables are showing up for the pod user but the web server instance does not see our environment variables.

This crashes our application because our server cannot connect to the database.

So somewhere in the 8.1 recipe, the web server user is no longer the same user that gets the openshift secrets.

It's possible that I could maybe fix this on my end but I'm not sure where to start.

Our image is from here:
https://github.com/ised-ocp-prod/sclorg-s2i-php/tree/master/8.1

@pkubatrh
Copy link
Member

Duplicate of #403

@pkubatrh pkubatrh marked this as a duplicate of #403 Mar 16, 2023
@pkubatrh pkubatrh closed this as not planned Won't fix, can't repro, duplicate, stale Mar 16, 2023
@joejoseph00
Copy link

PHP 8.1 is old news , PHP 8.3 is 53% faster on Drupal than compared with PHP 8.1 and Kinstas benchmarking.
#435

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants