Infrastructure roles and cluster pods restarts #2860
Unanswered
mirkomarchiori
asked this question in
Q&A
Replies: 1 comment
-
Does someone know anything about this? I would like to know whether this roles update will trigger pod restarts or not. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, we are using the ConfigMap and Secret
postgresql-infrastructure-roles
combo to define some postgres roles that will be created for every database we deploy.Here is an example of such resources:
Secret:
ConfigMap:
Then, those "global" users are allowed on the
pg_hba
configuration inside each cluster, in thekind: postgresql
resource.The operator is deployed through its Helm Chart on a specific namespace and is able to manage postgres clusters on all other namespaces.
Now, my question is: what happens when I add a new infrastructure role on the Secret and ConfigMap?
enable_lazy_spilo_upgrade
flag of the operator help in avoiding pods restarts in this case? (I am asking because this is not really a kubernetes change, but more of a postgres configuration I guess)Beta Was this translation helpful? Give feedback.
All reactions