Parcourir la source

Normalize app version for upgrade strategy

sonicaj il y a 4 ans
Parent
commit
3c07b0011d
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      charts/ipfs/upgrade_strategy
  2. 1 1
      charts/minio/upgrade_strategy

+ 1 - 1
charts/ipfs/upgrade_strategy

@@ -13,7 +13,7 @@ def newer_mapping(image_tags):
 
     return {
         'tags': {key: version},
-        'app_version': version,
+        'app_version': f'v{version}',
     }
 
 

+ 1 - 1
charts/minio/upgrade_strategy

@@ -14,7 +14,7 @@ def newer_mapping(image_tags):
 
     return {
         'tags': {key: tags[version]},
-        'app_version': version,
+        'app_version': version.split('T')[0],
     }