Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Question: How to setup in existing cluster - Namespace migration #141

Closed
Merenon opened this issue Jan 22, 2022 · 3 comments
Closed

Question: How to setup in existing cluster - Namespace migration #141

Merenon opened this issue Jan 22, 2022 · 3 comments

Comments

@Merenon
Copy link

Merenon commented Jan 22, 2022

Hi team,

first of all: this extension is awesome and exactly what I was searching for! Amazing work, including the comprehensive documentation and examples :)

I have a question regarding setting kiosk up in an already existing cluster with several "customer namespaces".
How is it possible to migrate existing namespaces to the kiosk space/account structure?

From the documentation I got that:

  • Space ownership can be changed, by changing the ownership annotation on the namespace
  • During Space creation (or Space ownership changes) a RoleBinding for the owning Account is created in the corresponding Space namespace. The referenced RBAC ClusterRole can be configured in the account.

But apart from the fact that ownership relation has been changed from annotations to labels(?!), this does not seem to work for namespaces that existed before installing kiosk.

Is there any documentation and/or example on how to make this working?
This might be related to and potentially already is the answer: #140

Many thanks in advance and keep up the great work!

@karn09
Copy link

karn09 commented Aug 24, 2022

It would be great to be able to do this for any existing namespaces.

Does the paid version (Loft) support namespace migration for existing clusters?

@FabianKramm
Copy link
Member

Hey @karn09 ! Sorry for the very late response, we had focused more on our other projects. Regarding your question: changing ownership currently does not retrigger the creation part, which is definitely a limitation currently in kiosk.

In our commercial solution (Loft) it is possible to import namespaces (with v3 onwards) and assign templates and objects that should get deployed automatically.

@Merenon
Copy link
Author

Merenon commented Dec 14, 2022

As it is not relevant for us anymore, I'm closing this issue. Feel free to open a new one.

@Merenon Merenon closed this as completed Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants