[stable/airflow] Allowing for specifying a NodePort number for Flower (#23244)

Signed-off-by: Alex Begg <abegg@gocurrency.com>
This commit is contained in:
Alex Begg
2020-07-24 04:14:22 -07:00
committed by GitHub
parent 8e234d655c
commit ca11eac9fb
6 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Airflow is a platform to programmatically author, schedule and monitor workflows
name: airflow
version: 7.2.0
version: 7.3.0
appVersion: 1.10.10
icon: https://airflow.apache.org/_images/pin_large.png
home: https://airflow.apache.org/
+1
View File
@@ -39,6 +39,7 @@ kubectl exec \
> NOTE: for chart version numbers, see [Chart.yaml](Chart.yaml) or [helm hub](https://hub.helm.sh/charts/stable/airflow).
For steps you must take when upgrading this chart, please review:
* [v7.2.X → v7.3.0](UPGRADE.md#v72x--v730)
* [v7.1.X → v7.2.0](UPGRADE.md#v71x--v720)
* [v7.0.X → v7.1.0](UPGRADE.md#v70x--v710)
* [v6.X.X → v7.0.0](UPGRADE.md#v6xx--v700)
+10
View File
@@ -1,5 +1,15 @@
# Upgrading Steps
## `v7.2.X``v7.3.0`
__The following IMPROVEMENTS have been made:__
* Added an ability to specify a specific port for Flower when using NodePort service type with the value `flower.service.nodePort.http`
__The following values have been ADDED:__
* `flower.service.nodePort.http`
## `v7.1.X``v7.2.0`
__The following IMPROVEMENTS have been made:__
@@ -23,6 +23,9 @@ spec:
- name: flower
protocol: TCP
port: {{ .Values.flower.service.externalPort }}
{{- if and (eq .Values.flower.service.type "NodePort") (.Values.flower.service.nodePort.http) }}
nodePort: {{ .Values.flower.service.nodePort.http }}
{{- end }}
targetPort: 5555
{{- if eq .Values.flower.service.type "LoadBalancer" }}
{{- if .Values.flower.service.loadBalancerIP }}
+1 -3
View File
@@ -27,11 +27,9 @@ spec:
- name: web
protocol: TCP
port: {{ .Values.web.service.externalPort | default 8080 }}
{{- if eq .Values.web.service.type "NodePort" }}
{{- if .Values.web.service.nodePort.http }}
{{- if and (eq .Values.web.service.type "NodePort") (.Values.web.service.nodePort.http) }}
nodePort: {{ .Values.web.service.nodePort.http }}
{{- end }}
{{- end }}
targetPort: 8080
{{- if eq .Values.web.service.type "LoadBalancer" }}
{{- if .Values.web.service.loadBalancerIP }}
+2
View File
@@ -637,6 +637,8 @@ flower:
externalPort: 5555
loadBalancerIP: ""
loadBalancerSourceRanges: []
nodePort:
http: ""
## the number of seconds to wait (in bash) before starting the flower container
##