Skip to content

Conversation

@vatsrahul1001
Copy link
Contributor

@vatsrahul1001 vatsrahul1001 commented Feb 28, 2025

During KE testing with helm we noticed API Server was unable to fetch logs from Kubernetes pods due to missing RBAC permissions.

Now:
image

Before
image

closes: #47200


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added the area:helm-chart Airflow Helm Chart label Feb 28, 2025
@vatsrahul1001 vatsrahul1001 changed the title Fix Airflow API Server RBAC to Allow Pod Log Access [Helm Chart] Grant Airflow API Server Permission to Read Pod Logs Feb 28, 2025
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vatsrahul1001 could we please add some tests under helm_tests?

@vatsrahul1001
Copy link
Contributor Author

@vatsrahul1001 could we please add some tests under helm_tests?

@amoghrajesh updated the existing test

Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Rahul! LGTM

@jedcunningham jedcunningham merged commit bf21023 into apache:main Mar 1, 2025
59 checks passed
@jedcunningham jedcunningham deleted the fix-rolebindingpermission-apiserver branch March 1, 2025 03:33
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:helm-chart Airflow Helm Chart

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not able to view task logs with KE when deployed using helm chart

5 participants