Equal-Vote / star-server

STAR Voting is an upgrade to our current way of voting that allows voters to score candidates from 0 to 5. Ultimately, STAR Voting elects candidates who better represent the whole of the electorate. We are building a site that lets everyone from individuals to organizations use STAR Voting to host simple polls or run secure elections.
GNU Affero General Public License v3.0
19 stars 22 forks source link

Commit Keycloak Realm Template to argocd #394

Open mikefranze opened 10 months ago

mikefranze commented 10 months ago

Keycloak can import and export realm settings, would be good practice to have all our keycloak settings defined in a configuration file. This would make it easier for people to start up their own servers and reduce human error while setting it up.

https://www.keycloak.org/server/importExport

ArendPeter commented 7 months ago

https://stackoverflow.com/questions/48930281/export-all-users-from-keycloak

ArendPeter commented 6 months ago

It's easy to export & import the settings as JSON. So I'm thinking we can just save the exported file some where for people to manually import

Down the road we can find a way to make it more automated in kubernetes

ArendPeter commented 3 months ago

What I stated above is the path we agreed on. We've already migrated keycloak onto kubernetes, but the next steps for this task is to commit the exiting realm template to argocd. Then after that we can figure out how to apply the template programatically

When we commit the template we need to be care that it doesn't include any sensitive information