Aaryan123456679 commented on code in PR #70238:
URL: https://github.com/apache/airflow/pull/70238#discussion_r3692339402
##########
chart/tests/helm_tests/security/test_security_context.py:
##########
@@ -422,6 +422,120 @@ def test_main_pod_setting(self):
for doc in docs[1:]:
assert ctx_value ==
jmespath.search("spec.template.spec.securityContext", doc)
+ def test_disable_defaults_pod_and_container(self):
Review Comment:
The test for this already exists —
`test_disable_defaults_component_level_override_still_applied` in
`chart/tests/helm_tests/security/test_security_context.py` (line 539, added in
d971b4fec7). It sets `securityContexts.disableDefaults: true` globally plus a
component-level `securityContexts.pod` override on `scheduler` and
`workers.celery`, then asserts the component-level override wins over the
global setting for both components.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]