daniellavoie commented on a change in pull request #6839: URL: https://github.com/apache/incubator-pinot/pull/6839#discussion_r638790210
########## File path: kubernetes/helm/pinot/templates/broker/service.yaml ########## @@ -21,18 +21,18 @@ apiVersion: v1 kind: Service metadata: name: {{ include "pinot.broker.fullname" . }} + annotations: + type: "service" + {{- if .Values.broker.service.gcpInternalLB }} + cloud.google.com/load-balancer-type: Internal Review comment: @ChethanUK I know the PR is merged but do you think we could improve this by removing hardcoded cloud specific annotations in favour of a fully generic annotation map? Most helm chart supports that with something like this: ``` annotations: {{- with .Values.service.annotations }} {{- toYaml . | nindent 8 }} {{- end }} ``` That would extend the support LB support to all cloud providers. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org