1
- UPDATE chart_ref SET is_default= false;
2
- INSERT INTO " public" ." chart_ref" (" name" ," location" , " version" , " deployment_strategy_path" ," is_default" , " active" , " created_on" , " created_by" , " updated_on" , " updated_by" ) VALUES
3
- (' Deployment' ,' deployment-chart_4-22-0' , ' 4.22.0' ,' pipeline-values.yaml' ,' t' , ' t' , ' now()' , 1 , ' now()' , 1 );
4
-
5
- INSERT INTO global_strategy_metadata_chart_ref_mapping (" global_strategy_metadata_id" , " chart_ref_id" , " active" , " created_on" , " created_by" , " updated_on" , " updated_by" ," default" )
6
- VALUES (1 ,(select id from chart_ref where version= ' 4.22.0' and name= ' Deployment' ), true, now(), 1 , now(), 1 ,true),
7
- (4 ,(select id from chart_ref where version= ' 4.22.0' and name= ' Deployment' ), true, now(), 1 , now(), 1 ,false);
8
-
9
1
UPDATE chart_ref SET is_default= false;
10
2
INSERT INTO " public" ." chart_ref" (" name" ," location" , " version" , " deployment_strategy_path" ," is_default" , " active" , " created_on" , " created_by" , " updated_on" , " updated_by" ) VALUES
11
3
(' Rollout Deployment' ,' reference-chart_5-2-0' , ' 5.2.0' ,' pipeline-values.yaml' ,' t' , ' t' , ' now()' , 1 , ' now()' , 1 );
@@ -15,3 +7,12 @@ VALUES (1,(select id from chart_ref where version='5.2.0' and name='Rollout Depl
15
7
(2 ,(select id from chart_ref where version= ' 5.2.0' and name= ' Rollout Deployment' ), true, now(), 1 , now(), 1 ,false),
16
8
(3 ,(select id from chart_ref where version= ' 5.2.0' and name= ' Rollout Deployment' ), true, now(), 1 , now(), 1 ,false),
17
9
(4 ,(select id from chart_ref where version= ' 5.2.0' and name= ' Rollout Deployment' ), true, now(), 1 , now(), 1 ,false);
10
+
11
+ UPDATE chart_ref SET is_default= false;
12
+ INSERT INTO " public" ." chart_ref" (" name" ," location" , " version" , " deployment_strategy_path" ," is_default" , " active" , " created_on" , " created_by" , " updated_on" , " updated_by" ) VALUES
13
+ (' Deployment' ,' deployment-chart_4-22-0' , ' 4.22.0' ,' pipeline-values.yaml' ,' t' , ' t' , ' now()' , 1 , ' now()' , 1 );
14
+
15
+ INSERT INTO global_strategy_metadata_chart_ref_mapping (" global_strategy_metadata_id" , " chart_ref_id" , " active" , " created_on" , " created_by" , " updated_on" , " updated_by" ," default" )
16
+ VALUES (1 ,(select id from chart_ref where version= ' 4.22.0' and name= ' Deployment' ), true, now(), 1 , now(), 1 ,true),
17
+ (4 ,(select id from chart_ref where version= ' 4.22.0' and name= ' Deployment' ), true, now(), 1 , now(), 1 ,false);
18
+
0 commit comments