This is an automated email from the ASF dual-hosted git repository.

rongr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 96fb243f22 [feature] [kubernetes] add loadBalancerSourceRanges to 
service-external.yaml for controller and broker (#9494)
96fb243f22 is described below

commit 96fb243f22df8891eb3e0bf79ad4e07c289b6553
Author: James Kelleher <[email protected]>
AuthorDate: Tue Oct 18 10:16:16 2022 -0400

    [feature] [kubernetes] add loadBalancerSourceRanges to 
service-external.yaml for controller and broker (#9494)
    
    * rename .yml files to .yaml, for internal consinstency and to adhere to 
helm recommendations
    * add loadBalancerSourceRanges to broker and controller external services
    * use a scope for loadBalancerSourceRanges
---
 kubernetes/helm/pinot/templates/broker/service-external.yaml          | 4 ++++
 .../helm/pinot/templates/broker/{statefulset.yml => statefulset.yaml} | 0
 kubernetes/helm/pinot/templates/controller/service-external.yaml      | 4 ++++
 .../templates/minion-stateless/{deployment.yml => deployment.yaml}    | 0
 .../helm/pinot/templates/minion/{statefulset.yml => statefulset.yaml} | 0
 .../helm/pinot/templates/server/{statefulset.yml => statefulset.yaml} | 0
 6 files changed, 8 insertions(+)

diff --git a/kubernetes/helm/pinot/templates/broker/service-external.yaml 
b/kubernetes/helm/pinot/templates/broker/service-external.yaml
index fb9358967c..075bd0f160 100644
--- a/kubernetes/helm/pinot/templates/broker/service-external.yaml
+++ b/kubernetes/helm/pinot/templates/broker/service-external.yaml
@@ -34,4 +34,8 @@ spec:
       port: {{ .Values.broker.external.port }}
   selector:
     {{- include "pinot.brokerMatchLabels" . | nindent 4 }}
+{{- with .Values.broker.service.loadBalancerSourceRanges }}
+  loadBalancerSourceRanges:
+{{ toYaml . | indent 4 }}
+{{- end }}
 {{- end }}
diff --git a/kubernetes/helm/pinot/templates/broker/statefulset.yml 
b/kubernetes/helm/pinot/templates/broker/statefulset.yaml
similarity index 100%
rename from kubernetes/helm/pinot/templates/broker/statefulset.yml
rename to kubernetes/helm/pinot/templates/broker/statefulset.yaml
diff --git a/kubernetes/helm/pinot/templates/controller/service-external.yaml 
b/kubernetes/helm/pinot/templates/controller/service-external.yaml
index bec5bf9e40..6fefc22813 100644
--- a/kubernetes/helm/pinot/templates/controller/service-external.yaml
+++ b/kubernetes/helm/pinot/templates/controller/service-external.yaml
@@ -34,4 +34,8 @@ spec:
       port: {{ .Values.controller.external.port }}
   selector:
     {{- include "pinot.controllerMatchLabels" . | nindent 4 }}
+{{- with .Values.controller.service.loadBalancerSourceRanges }}
+  loadBalancerSourceRanges:
+{{ toYaml . | indent 4 }}
+{{- end }}
 {{- end }}
diff --git a/kubernetes/helm/pinot/templates/minion-stateless/deployment.yml 
b/kubernetes/helm/pinot/templates/minion-stateless/deployment.yaml
similarity index 100%
rename from kubernetes/helm/pinot/templates/minion-stateless/deployment.yml
rename to kubernetes/helm/pinot/templates/minion-stateless/deployment.yaml
diff --git a/kubernetes/helm/pinot/templates/minion/statefulset.yml 
b/kubernetes/helm/pinot/templates/minion/statefulset.yaml
similarity index 100%
rename from kubernetes/helm/pinot/templates/minion/statefulset.yml
rename to kubernetes/helm/pinot/templates/minion/statefulset.yaml
diff --git a/kubernetes/helm/pinot/templates/server/statefulset.yml 
b/kubernetes/helm/pinot/templates/server/statefulset.yaml
similarity index 100%
rename from kubernetes/helm/pinot/templates/server/statefulset.yml
rename to kubernetes/helm/pinot/templates/server/statefulset.yaml


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to