You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/05 16:25:54 UTC

[GitHub] [airflow] Aakcht opened a new pull request #16822: Chart: allow using krb5.conf with CeleryExecutor

Aakcht opened a new pull request #16822:
URL: https://github.com/apache/airflow/pull/16822


   For some reason kerberos can be used only when setting `executor: KubernetesExecutor` or `CeleryKubernetesExecutor`  in helm chart - see https://github.com/apache/airflow/blob/main/chart/templates/configmaps/configmap.yaml#L57 .
   
   This PR allows to use kerberos when setting `executor: CeleryExecutor`.  


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kaxil merged pull request #16822: Chart: allow using krb5.conf with CeleryExecutor

Posted by GitBox <gi...@apache.org>.
kaxil merged pull request #16822:
URL: https://github.com/apache/airflow/pull/16822


   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kaxil commented on a change in pull request #16822: Chart: allow using krb5.conf with CeleryExecutor

Posted by GitBox <gi...@apache.org>.
kaxil commented on a change in pull request #16822:
URL: https://github.com/apache/airflow/pull/16822#discussion_r664117863



##########
File path: chart/templates/configmaps/configmap.yaml
##########
@@ -63,6 +63,8 @@ data:
 {{ tpl (.Files.Get "files/pod-template-file.kubernetes-helm-yaml") . | nindent 4 }}
 {{- end }}
 {{- end }}
+{{- end }}
+{{- if or (eq .Values.executor "CeleryExecutor") (eq .Values.executor "CeleryKubernetesExecutor") (eq .Values.executor "KubernetesExecutor") }}

Review comment:
       and removing L72 should work




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] Aakcht commented on a change in pull request #16822: Chart: allow using krb5.conf with CeleryExecutor

Posted by GitBox <gi...@apache.org>.
Aakcht commented on a change in pull request #16822:
URL: https://github.com/apache/airflow/pull/16822#discussion_r664192935



##########
File path: chart/templates/configmaps/configmap.yaml
##########
@@ -63,6 +63,8 @@ data:
 {{ tpl (.Files.Get "files/pod-template-file.kubernetes-helm-yaml") . | nindent 4 }}
 {{- end }}
 {{- end }}
+{{- end }}
+{{- if or (eq .Values.executor "CeleryExecutor") (eq .Values.executor "CeleryKubernetesExecutor") (eq .Values.executor "KubernetesExecutor") }}

Review comment:
       Added the change




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kaxil commented on a change in pull request #16822: Chart: allow using krb5.conf with CeleryExecutor

Posted by GitBox <gi...@apache.org>.
kaxil commented on a change in pull request #16822:
URL: https://github.com/apache/airflow/pull/16822#discussion_r664117831



##########
File path: chart/templates/configmaps/configmap.yaml
##########
@@ -63,6 +63,8 @@ data:
 {{ tpl (.Files.Get "files/pod-template-file.kubernetes-helm-yaml") . | nindent 4 }}
 {{- end }}
 {{- end }}
+{{- end }}
+{{- if or (eq .Values.executor "CeleryExecutor") (eq .Values.executor "CeleryKubernetesExecutor") (eq .Values.executor "KubernetesExecutor") }}

Review comment:
       ```suggestion
   ```

##########
File path: chart/templates/configmaps/configmap.yaml
##########
@@ -63,6 +63,8 @@ data:
 {{ tpl (.Files.Get "files/pod-template-file.kubernetes-helm-yaml") . | nindent 4 }}
 {{- end }}
 {{- end }}
+{{- end }}
+{{- if or (eq .Values.executor "CeleryExecutor") (eq .Values.executor "CeleryKubernetesExecutor") (eq .Values.executor "KubernetesExecutor") }}

Review comment:
       and removing L72 should work




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] Aakcht commented on pull request #16822: Chart: allow using krb5.conf with CeleryExecutor

Posted by GitBox <gi...@apache.org>.
Aakcht commented on pull request #16822:
URL: https://github.com/apache/airflow/pull/16822#issuecomment-874454107


   I can retrigger ci build if needed, but it looks like the failed check is not connected to this PR


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kaxil commented on a change in pull request #16822: Chart: allow using krb5.conf with CeleryExecutor

Posted by GitBox <gi...@apache.org>.
kaxil commented on a change in pull request #16822:
URL: https://github.com/apache/airflow/pull/16822#discussion_r664117831



##########
File path: chart/templates/configmaps/configmap.yaml
##########
@@ -63,6 +63,8 @@ data:
 {{ tpl (.Files.Get "files/pod-template-file.kubernetes-helm-yaml") . | nindent 4 }}
 {{- end }}
 {{- end }}
+{{- end }}
+{{- if or (eq .Values.executor "CeleryExecutor") (eq .Values.executor "CeleryKubernetesExecutor") (eq .Values.executor "KubernetesExecutor") }}

Review comment:
       ```suggestion
   ```




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] Aakcht commented on pull request #16822: Chart: allow using krb5.conf with CeleryExecutor

Posted by GitBox <gi...@apache.org>.
Aakcht commented on pull request #16822:
URL: https://github.com/apache/airflow/pull/16822#issuecomment-874454107


   I can retrigger ci build if needed, but it looks like the failed check is not connected to this PR


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] Aakcht commented on a change in pull request #16822: Chart: allow using krb5.conf with CeleryExecutor

Posted by GitBox <gi...@apache.org>.
Aakcht commented on a change in pull request #16822:
URL: https://github.com/apache/airflow/pull/16822#discussion_r664192935



##########
File path: chart/templates/configmaps/configmap.yaml
##########
@@ -63,6 +63,8 @@ data:
 {{ tpl (.Files.Get "files/pod-template-file.kubernetes-helm-yaml") . | nindent 4 }}
 {{- end }}
 {{- end }}
+{{- end }}
+{{- if or (eq .Values.executor "CeleryExecutor") (eq .Values.executor "CeleryKubernetesExecutor") (eq .Values.executor "KubernetesExecutor") }}

Review comment:
       Added the change




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org