From 5ac626d61a8c37ef41ca45d7480929303c0572b8 Mon Sep 17 00:00:00 2001 From: loustelr Date: Wed, 24 Mar 2021 21:30:32 +0900 Subject: [PATCH] Fix typo in Helm chart tests Fix typo Allways to Always on image policy --- chart/tests/test_git_sync_scheduler.py | 4 ++-- chart/tests/test_pod_template_file.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chart/tests/test_git_sync_scheduler.py b/chart/tests/test_git_sync_scheduler.py index 68129fc2ca303..151a6f27f4281 100644 --- a/chart/tests/test_git_sync_scheduler.py +++ b/chart/tests/test_git_sync_scheduler.py @@ -57,7 +57,7 @@ def test_validate_the_git_sync_container_spec(self): "gitSync": { "repository": "test-registry/test-repo", "tag": "test-tag", - "pullPolicy": "Allways", + "pullPolicy": "Always", } }, "dags": { @@ -87,7 +87,7 @@ def test_validate_the_git_sync_container_spec(self): "name": "git-sync-test", "securityContext": {"runAsUser": 65533}, "image": "test-registry/test-repo:test-tag", - "imagePullPolicy": "Allways", + "imagePullPolicy": "Always", "env": [ {"name": "GIT_SYNC_REV", "value": "HEAD"}, {"name": "GIT_SYNC_BRANCH", "value": "test-branch"}, diff --git a/chart/tests/test_pod_template_file.py b/chart/tests/test_pod_template_file.py index f58fd3bb0f9d9..70a5d2db6abcf 100644 --- a/chart/tests/test_pod_template_file.py +++ b/chart/tests/test_pod_template_file.py @@ -55,7 +55,7 @@ def test_should_add_an_init_container_if_git_sync_is_true(self): "gitSync": { "repository": "test-registry/test-repo", "tag": "test-tag", - "pullPolicy": "Allways", + "pullPolicy": "Always", } }, "dags": { @@ -85,7 +85,7 @@ def test_should_add_an_init_container_if_git_sync_is_true(self): "name": "git-sync-test", "securityContext": {"runAsUser": 65533}, "image": "test-registry/test-repo:test-tag", - "imagePullPolicy": "Allways", + "imagePullPolicy": "Always", "env": [ {"name": "GIT_SYNC_REV", "value": "HEAD"}, {"name": "GIT_SYNC_BRANCH", "value": "test-branch"},