-
Notifications
You must be signed in to change notification settings - Fork 104
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
Supporting NATS as Datastore #442
Supporting NATS as Datastore #442
Conversation
✅ Deploy Preview for kamaji-documentation canceled.
|
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.
Let's clean up also the generated files for the NATS kine certs.
@@ -867,6 +867,8 @@ func (d Deployment) buildKine(podSpec *corev1.PodSpec, tcp kamajiv1alpha1.Tenant | |||
args["--endpoint"] = "mysql://$(DB_USER):$(DB_PASSWORD)@tcp($(DB_CONNECTION_STRING))/$(DB_SCHEMA)" | |||
case kamajiv1alpha1.KinePostgreSQLDriver: | |||
args["--endpoint"] = "postgres://$(DB_USER):$(DB_PASSWORD)@$(DB_CONNECTION_STRING)/$(DB_SCHEMA)" | |||
case kamajiv1alpha1.KineNatsDriver: | |||
args["--endpoint"] = "nats://$(DB_USER):$(DB_PASSWORD)@$(DB_CONNECTION_STRING)?bucket=$(DB_SCHEMA)" |
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.
So the problem lies here, these environment variables are currently generated per control plane.
done |
Co-authored-by: Dario Tranchitella <dario@tranchitella.eu>
…roup/kamaji into feature/nats-integration
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.
CI complains, let's commit changes of make apidoc
Done |
|
fixed |
This pull request aims to add basic NATS support.
*** NOTE ***
In it's current state, this only adds single-tenant support for NATS as NATS currently does not have an easy programmatic way of managing users via their API.
implements #400