Open f-leclere opened 9 months ago
Given the nonsensitive nature of those settings I haven't felt the need to make those available in the ENV as I generally end up thinking of just using the WP-CFM plugin and these settings are committed to configuration that is deployed and loaded as part of a deployment.
https://wordpress.org/plugins/wp-cfm/
I'll have to double check elsewhere as some of those might have hooks that could be used to set them from ENV. For those not available we'll have to expand the ENV support with additional code changes.
thanks for wp-cfm link, i'll take a look on.
for more explainations, our context is containers with gitops deployment process (w/o any interruption), we're using ci/cd, kustomize/kapp or ArgoCd/Flux to deploy. Website deployment is using ENV vars, PHP_define and wp-cli actions. Config values and secret are centralized in secure vault and inserted as ENV.
@f-leclere yep, totally get it, we do something similar which is actually why I originally submitted the changes for the plugin before I took over primary maintenance to add ENV support for most of the settings. It shouldn't actually take much to get those additional settings covered so I'll take a look at that.
Hi, thank's for this oidc plugin.
to automate fully website deployment, how is it possible to define other settings (below list) using ENV ?
need of ENV definition for settings keys:
Regards