I have just brought up a Discourse 2.1.1 in a Kubernetes cluster, Discourse and Sidekiq are running in separate containers in a single pod, Postgres 9.6 and Redis 3.2.10 are in different pods.
While configuring OAuth2 authentication I noticed that Discourse settings are just randomly disappearing from time to time: let’s say I’m on settings page, I see all required settings (not only OAuth2) configured properly, when I refresh page there’s a pretty high chance (50%+) that some or even all of the settings will be in their default state.
The same behaviour can be seen on user side. For example my forum settings are set to require authentication, if I am not logged I will sometimes see it (default setting) and sometimes I’ll be required to login (custom config).
I wasted a whole day trying to figure what’s wrong, but I still has no clues. Both Redis and Postgres seems to be running perfectly fine and also I have disabled clustered mode to be sure its not the sync.
Does anyone has any idea what’s might be wrong?
Thanks in advance!