Skip to content

Commit 43d36bb

Browse files
Merge pull request #10 from codefresh-contrib/CR-3082
CR-3082 Add message to helmtemplate step that helm 2 deprecated
2 parents 14e3118 + fbe61a0 commit 43d36bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/helmfile.py

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ def main():
5353
delete_ps = os.getenv('DELETE_PS')
5454
destroy_ps = os.getenv('DESTROY_PS')
5555
test_ps = os.getenv('TEST_PS')
56+
helm_version = env.get('HELM_VERSION', '2.0.0')
57+
58+
if helm_version.startswith('2'):
59+
print("\033[93mCodefresh will discontinue support for Helm 2 on July 16 2021\033[0m")
5660

5761
# Combine Global Options
5862

0 commit comments

Comments
 (0)