Closed slopezz closed 1 year ago
LGTM label has been added.
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: slopezz
The full list of commands accepted by this bot can be found here.
The pull request process is described here
System-console statefulset was not loading correct system config fils due to the command used, and the one in 3scale/porta entrypoint.
In other system pods (exept console) the active merchant configuration is correctly set as
:test
.However in system-console the "extra" config files are not applied, so apparently it uses the configuration that is built into the container.
In this case the settings.yml file misses active_merchant_mode, so it's "calculated" based on the Rails env, so ends up being
:production
.The reason for this is that the whole config symlinking happens in the container image entrypoint: https://github.com/3scale/porta/blob/2028c613de09c73de06d7c31406478d967976e37/openshift/system/entrypoint.sh#L8-L21
And this is not used in system-console where the command is overridden by sleep
system-app:
system-console (it is using the image files):
This PR fixes the console container args.
/kind bug /priority important-soon /assign