mik-laj commented on a change in pull request #11836:
URL: https://github.com/apache/airflow/pull/11836#discussion_r511616922
##########
File path: chart/templates/flower/flower-deployment.yaml
##########
@@ -81,19 +81,36 @@ spec:
containerPort: {{ .Values.ports.flowerUI }}
livenessProbe:
failureThreshold: 10
- httpGet:
- path: /
- port: {{ .Values.ports.flowerUI }}
+ exec:
+ command:
+ - curl
+ {{- if or .Values.flower.secretName .Values.flower.basicAuth }}
+ - "-H"
+ - "Authorization: Basic $AIRFLOW__CELERY__FLOWER_BASIC_AUTH"
Review comment:
I also wonder how we can handle multiple accounts in an environmental
variable.
> provide user:password pairs separated by a comma.
https://airflow.readthedocs.io/en/latest/security/flower.html
The easiest solution is to change the values.yml file so that it only
supports one account.
```
flower:
username: dummy-username
password: dummy-password
```
----------------------------------------------------------------
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:
[email protected]