How to tag AWS loadbalancer for Kibana

Hello, i am trying to deploy Kibana using eck operator. And i want for loadbalancer which is created by eks to have tags. For regular service i would add tags with annotation like this

 annotations:
    service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags: tag1=value1

But when i do this for kind Kibana my loadbalancer do not have tags and service do not have annotation. How can i tag loadbalancer

My kibana code

apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: {{ .Values.clusterName }}
  namespace: {{ .Values.elasticNamespace }}
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags: tag1=value1
spec:
  version: {{ .Values.version }}
  count: {{ .Values.count }}
  elasticsearchRef:
    name: {{ .Values.name }}
    namespace: elastic
  http:
    service:
      spec:
        type: LoadBalancer

Already figured out. Metadata section need to be added under http.service

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.