jedcunningham commented on a change in pull request #17666:
URL: https://github.com/apache/airflow/pull/17666#discussion_r690778830
##########
File path: chart/values.schema.json
##########
@@ -1818,6 +1818,12 @@
],
"default": null
}
+ },
+ "loadBalancerSourceRanges": {
+ "description": "Webserver Service
loadBalancerSourceRanges.",
+ "type": "array",
+ "default": []
Review comment:
```suggestion
"default": [],
"examples": [
"143.231.0.0/16"
]
```
##########
File path: chart/templates/webserver/webserver-service.yaml
##########
@@ -51,3 +51,9 @@ spec:
{{- if .Values.webserver.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.webserver.service.loadBalancerIP }}
{{- end }}
+ {{- if .Values.service.loadBalancerSourceRanges }}
+ loadBalancerSourceRanges:
+ {{- range $cidr := .Values.service.loadBalancerSourceRanges }}
+ - {{ $cidr }}
+ {{- end }}
Review comment:
```suggestion
{{- toYaml .Values.service.loadBalancerSourceRanges | nindent 4 }}
```
I think this is cleaner?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]