DerekHeldtWerle commented on a change in pull request #14152:
URL: https://github.com/apache/airflow/pull/14152#discussion_r624202957



##########
File path: chart/tests/test_basic_helm_chart.py
##########
@@ -36,13 +36,19 @@ def test_basic_deployments(self):
                     'metadata': 'AA',
                 },
                 'labels': {"TEST-LABEL": "TEST-VALUE"},
+                "fullnameOverride": "TEST-BASIC",

Review comment:
       the change would look like the following if you want to remove the 
`fullnameOverride`:
   
   ```
   --- a/chart/tests/test_basic_helm_chart.py
   +++ b/chart/tests/test_basic_helm_chart.py
   @@ -36,21 +36,20 @@ class TestBaseChartTest(unittest.TestCase):
                        'metadata': 'AA',
                    },
                    'labels': {"TEST-LABEL": "TEST-VALUE"},
   -                "fullnameOverride": "TEST-BASIC",
                },
            )
            list_of_kind_names_tuples = [
                (k8s_object['kind'], k8s_object['metadata']['name']) for 
k8s_object in k8s_objects
            ]
            assert list_of_kind_names_tuples == [
   -            ('ServiceAccount', 'TEST-BASIC-flower'),
   -            ('ServiceAccount', 'TEST-BASIC-create-user-job'),
   -            ('ServiceAccount', 'TEST-BASIC-migrate-database-job'),
   -            ('ServiceAccount', 'TEST-BASIC-redis'),
   -            ('ServiceAccount', 'TEST-BASIC-scheduler'),
   -            ('ServiceAccount', 'TEST-BASIC-statsd'),
   -            ('ServiceAccount', 'TEST-BASIC-webserver'),
   -            ('ServiceAccount', 'TEST-BASIC-worker'),
   +            ('ServiceAccount', 'TEST-BASIC-airflow-flower'),
   +            ('ServiceAccount', 'TEST-BASIC-airflow-create-user-job'),
   +            ('ServiceAccount', 'TEST-BASIC-airflow-migrate-database-job'),
   +            ('ServiceAccount', 'TEST-BASIC-airflow-redis'),
   +            ('ServiceAccount', 'TEST-BASIC-airflow-scheduler'),
   +            ('ServiceAccount', 'TEST-BASIC-airflow-statsd'),
   +            ('ServiceAccount', 'TEST-BASIC-airflow-webserver'),
   +            ('ServiceAccount', 'TEST-BASIC-airflow-worker'),
                ('Secret', 'TEST-BASIC-postgresql'),
                ('Secret', 'TEST-BASIC-airflow-metadata'),
                ('Secret', 'TEST-BASIC-airflow-result-backend'),
   ```




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to