jedcunningham commented on code in PR #32349:
URL: https://github.com/apache/airflow/pull/32349#discussion_r1290601024
##########
helm_tests/airflow_aux/test_pod_template_file.py:
##########
@@ -750,3 +750,34 @@ def test_workers_priority_class_name(self):
)
assert "test-priority" == jmespath.search("spec.priorityClassName",
docs[0])
+
+ @pytest.mark.parametrize(
+ "release_name,lifecycle_tempated,lifecycle_parsed,hook_type",
+ [
+ (
+ "test-release",
+ {"exec": {"command": ["echo", "postStart", "{{ .Release.Name
}}"]}},
+ {"exec": {"command": ["echo", "postStart", "test-release"]}},
+ "postStart",
Review Comment:
Doing 1, preStop or postStart, should be sufficient.
--
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]