You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2023/01/15 05:20:28 UTC
[GitHub] [superset] rajan123456 commented on a diff in pull request #22713: feat(helm): allow persisting nodePort for services
rajan123456 commented on code in PR #22713:
URL: https://github.com/apache/superset/pull/22713#discussion_r1070504784
##########
helm/superset/README.md:
##########
@@ -144,6 +145,7 @@ helm install my-superset superset/superset
| supersetCeleryFlower.service.annotations | object | `{}` | |
| supersetCeleryFlower.service.port | int | `5555` | |
| supersetCeleryFlower.service.type | string | `"ClusterIP"` | |
+| supersetCeleryFlowerservice.nodePorts.http | int | `""` | |
Review Comment:
Updated, thanks!
##########
helm/superset/templates/service.yaml:
##########
@@ -35,6 +35,11 @@ spec:
targetPort: http
protocol: TCP
name: http
+ {{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.nodePorts.http)) }}
+ nodePort: {{ .Values.service.nodePorts.http }}
+ {{- else if eq .Values.service.type "ClusterIP" }}
+ nodePort: null
Review Comment:
Updated, thanks!
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org