You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/05/25 13:31:35 UTC
[GitHub] [incubator-pinot] daniellavoie commented on a change in pull request #6839: Update helm chart - Include securityContext, gracePeriod and remove duplicates in helm
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org