This repository was archived by the owner on Feb 13, 2024. It is now read-only.
File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -724,6 +724,15 @@ def create_environments(self):
724
724
self .create_and_assign_quota_plan (environment )
725
725
726
726
elif environment .name == "kymaruntime" :
727
+ # Support load via dynamic parameter file as well
728
+ if environment .parameters is None :
729
+ # try via serviceparameter file
730
+ command = f'cat "{ environment .serviceparameterfile } "'
731
+ message = "Read out environment parameter file"
732
+ environment .parameters = runCommandAndGetJsonResult (
733
+ self , command , "INFO" , message
734
+ )
735
+
727
736
kymaClusterName = environment .parameters ["name" ]
728
737
729
738
# Set Cluster region: the cluster region can be globally defined via the parameters file
Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ def create_btp_service(btpUsecase, service):
70
70
71
71
if service .parameters is not None :
72
72
command = command + " --parameters '" + dictToString (service .parameters ) + "'"
73
+ elif service .serviceparameterfile is not None :
74
+ command += f" --parameters { service .serviceparameterfile } "
73
75
74
76
if service .labels is not None :
75
77
command = command + " --labels '" + dictToString (service .labels ) + "'"
You can’t perform that action at this time.
0 commit comments