You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we could facilitate that kind of integration with a MutatingAdmissionWebhook that is triggered by a label or annotation and is able to inject these snippets into a Pod spec. Something like: k8s.elastic.co/inject-cluster: my-cluster and optionally to give more control over the injected user: k8s.elastic.co/inject-user: my-custom-user or a set of user roles k8s.elastic.co/inject-roles: kibana_user,monitoring_user ECK would make sure the corresponding user exists and inject its credentials into the Pod spec. It would also make sure the secrets for password and certificates are available in the namespace of the annotated resource.
Concerns:
copying secrets that give access to Elasticsearch clusters around based on annotations or labels might be undesirable
complexity of introducing and managing yet another webhook
Benefits:
fairly generic way of 'integrating' with ECK managed Elasticsearch clusters, without implementing explicit support for every possible integration in ECK itself
The text was updated successfully, but these errors were encountered:
Integrating with an ECK managed Elasticsearch cluster involves typically:
This can be done via two environment variables
Plus a volume/volume mount for the certificates
we could facilitate that kind of integration with a
MutatingAdmissionWebhook
that is triggered by a label or annotation and is able to inject these snippets into a Pod spec. Something like:k8s.elastic.co/inject-cluster: my-cluster
and optionally to give more control over the injected user:k8s.elastic.co/inject-user: my-custom-user
or a set of user rolesk8s.elastic.co/inject-roles: kibana_user,monitoring_user
ECK would make sure the corresponding user exists and inject its credentials into the Pod spec. It would also make sure the secrets for password and certificates are available in the namespace of the annotated resource.Concerns:
Benefits:
The text was updated successfully, but these errors were encountered: