Skip to content

Commit

Permalink
set default flag for airgap full mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikJiang committed Dec 26, 2023
1 parent 071dd83 commit a00cec8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions artifacts/airgap_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ def create_localartifactset_cr(manifest_data):
component_name = re.split('_', version_key)[0]
if item_name == component_name:
versions = manifest_data.get(version_key)
if MODE == "FULL" and component_name != 'kube' and versions is None:
versions = ['default']
if isinstance(versions, list):
item["versionRange"] = versions
if isinstance(versions, str):
Expand Down

0 comments on commit a00cec8

Please sign in to comment.