mik-laj commented on a change in pull request #11836:
URL: https://github.com/apache/airflow/pull/11836#discussion_r511616480



##########
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 am afraid it will not work. The Basic Auth header is in 
`Authorization: Basic Base64(username:password)` format.  You can use 
``--user`` parameter instead. See: 
https://airflow.readthedocs.io/en/latest/security/api.html#basic-authentication




----------------------------------------------------------------
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]


Reply via email to