-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make partition and tenant this postgreslet is responsible configurable #23
Conversation
- Change the separator in a zalando postgresql name. - Unify the namespaces of our resources and zalando resources. - Add the flags `partition-id` and `tenant`.
@majst01 Changes are completed. |
@eberlep If everything is alright, please merge it. Thanks! |
return true | ||
} | ||
|
||
func (r *PostgresReconciler) createZalandoPostgresql(ctx context.Context, z *pg.ZalandoPostgres) (ctrl.Result, error) { | ||
log := r.Log.WithValues("zalando postgresql", z.ToKey()) | ||
|
||
// todo: Create a ns if none. | ||
// Make sure the namespace exists in the worker-cluster. // todo: Make sure it happens in the worker-cluster. | ||
ns := z.Namespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand we use the same namespace for the Zanaldo PostgreSQL object as we use for the FI-TS Postgres object here?
If that's the case we might need to discuss this: The FI-TS object resides in our common "seed" cluster, whereas the Zalando object resides in the worker or service cluster. And if I remember correctly, we don't separate the FI-TS objects per tenant/project in the seed cluster, but might have to do so in the service cluster? If so, we cannot use the same namespace but have to separete them?
partition-id
andtenant
.