Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Logging in Airflow Helm string expected instead of bool #641

Open
alvaromaroto opened this issue Jul 8, 2024 · 1 comment
Open
Labels

Comments

@alvaromaroto
Copy link

Summary

Helm Diff shows an error in Airflow Helm with .Values.config.logging.remote_logging because it expects a string instead of bool

Error

Error: Failed to render chart: exit status 1: Error: template: airflow/templates/NOTES.txt:135:73: executing "airflow/templates/NOTES.txt" at <.Values.config.logging.remote_logging>: wrong type for value; expected string; got bool

My config is:

config:
  core:
    hostname_callable: airflow.utils.net.get_host_ip_address
  celery:
    flower_url_prefix: ''  # Default value "/" was making it does not work
    worker_concurrency: 5
  logging:
    remote_base_log_folder: s3://XXXXX
    remote_log_conn_id: aws_default
    encrypt_s3_logs: false
    remote_logging: true

remote_logging only is rendered if I put "true" or "True" (string) instead of bool

@yxxhero
Copy link
Collaborator

yxxhero commented Aug 3, 2024

@alvaromaroto could you test it by using helm command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants