InfuseAI / primehub

open-source MLOps platform
https://docs.primehub.io
Apache License 2.0
394 stars 40 forks source link

Idempotent bootstrap (with service account) #19

Closed popcornylu closed 5 years ago

popcornylu commented 5 years ago

Introduction

when helm upgrade, the bootstrap script should update client setting idempotently.

Tasks

Testing Scenario

  1. Install
  2. Upgrade
  3. Upgrade again
  4. add new protomapper (e.g. timezone) and upgrade again.
popcornylu commented 5 years ago

Current upgrade limitation. It only upgrade

  1. protocol mapper
  2. redirectUris
  3. service account's role and client role.
clkao commented 5 years ago

It seems primehub-secret is not updated if domain is changed (keycloak.url). otherwise the client in keycloak seems to be updated properly.

popcornylu commented 5 years ago

@clkao will fix it in #22