@@ -152,18 +152,6 @@ private static void ManualConfigurations(IMapperConfigurationExpression cfg)
152152 } ) ;
153153 } ) ;
154154
155- cfg . CreateMap < V1Subject , V1beta2Subject > ( )
156- . ForMember ( dest => dest . Group , opt => opt . Ignore ( ) )
157- . ForMember ( dest => dest . ServiceAccount , opt => opt . Ignore ( ) )
158- . ForMember ( dest => dest . User , opt => opt . Ignore ( ) )
159- . ReverseMap ( ) ;
160-
161- cfg . CreateMap < V1Subject , V1beta3Subject > ( )
162- . ForMember ( dest => dest . Group , opt => opt . Ignore ( ) )
163- . ForMember ( dest => dest . ServiceAccount , opt => opt . Ignore ( ) )
164- . ForMember ( dest => dest . User , opt => opt . Ignore ( ) )
165- . ReverseMap ( ) ;
166-
167155 cfg . CreateMap < V1HorizontalPodAutoscalerSpec , V2HorizontalPodAutoscalerSpec > ( )
168156 . ForMember ( dest => dest . Metrics , opt => opt . Ignore ( ) )
169157 . ForMember ( dest => dest . Behavior , opt => opt . Ignore ( ) )
@@ -179,8 +167,8 @@ private static void ManualConfigurations(IMapperConfigurationExpression cfg)
179167 . ForMember ( dest => dest . Name , opt => opt . Ignore ( ) )
180168 . ReverseMap ( ) ;
181169
182- cfg . CreateMap < V1beta2LimitedPriorityLevelConfiguration , V1beta3LimitedPriorityLevelConfiguration > ( )
183- . ForMember ( dest => dest . NominalConcurrencyShares , opt => opt . Ignore ( ) )
170+ cfg . CreateMap < V1beta3PolicyRulesWithSubjects , V1PolicyRulesWithSubjects > ( )
171+ . ForMember ( dest => dest . Subjects , opt => opt . Ignore ( ) )
184172 . ReverseMap ( ) ;
185173 }
186174}
0 commit comments