project icon indicating copy to clipboard operation
project copied to clipboard

Elasticsearch service template annotation not passed to service

Open tamalsaha opened this issue 1 year ago • 2 comments

Conversation started on Saturday, August 10 2024, 16:37

[16:31] Visitor navigated to https://kubedb.com/articles/deploy-elasticsearch-via-kubernetes-elasticsearch-operator/ [16:31] Visitor navigated to https://kubedb.com/kubernetes/databases/run-and-manage-elasticsearch-on-kubernetes/ [16:32] Visitor navigated to https://kubedb.com/docs/v2024.6.4/guides/elasticsearch/elasticsearch-dashboard/opensearch-dashboards/ [16:33] Visitor navigated to https://kubedb.com/docs/v2024.6.4/guides/elasticsearch/concepts/elasticsearch-dashboard/ [16:37] V1722807089703426 : Hi [16:37] V1722807089703426 : In ElasticsearchDashboard CRD's all serviceTemplates: - alias: primary metadata: annotations

are ignored [16:37] V1722807089703426 : is this expected? [16:38] Tamal : Can you share the yaml? [16:39] V1722807089703426 : https://pastebin.com/eRjqFAGg [16:39] V1722807089703426 : I'm trying to get ingress running and need some service annotations [16:40] Visitor navigated to https://kubedb.com/ [16:41] V1722807089703426 : This is the result: https://pastebin.com/s1q6ygVk [16:42] Visitor navigated to https://kubedb.com/pricing/ [16:42] Tamal : This should work. We have to check and get back to you.

tamalsaha avatar Aug 10 '24 23:08 tamalsaha

Currently, if you set annotations on ESDashboard directly it will be passed to the service. ESDashboard ServiceTemplate annotations have not been passed to the generated service. We are going to look into fixing that in upcoming release.

tamalsaha avatar Aug 11 '24 07:08 tamalsaha

Thanks @tamalsaha

nolotz avatar Aug 11 '24 21:08 nolotz