@@ -152,18 +152,6 @@ private static void ManualConfigurations(IMapperConfigurationExpression cfg)
152
152
} ) ;
153
153
} ) ;
154
154
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
-
167
155
cfg . CreateMap < V1HorizontalPodAutoscalerSpec , V2HorizontalPodAutoscalerSpec > ( )
168
156
. ForMember ( dest => dest . Metrics , opt => opt . Ignore ( ) )
169
157
. ForMember ( dest => dest . Behavior , opt => opt . Ignore ( ) )
@@ -179,8 +167,8 @@ private static void ManualConfigurations(IMapperConfigurationExpression cfg)
179
167
. ForMember ( dest => dest . Name , opt => opt . Ignore ( ) )
180
168
. ReverseMap ( ) ;
181
169
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 ( ) )
184
172
. ReverseMap ( ) ;
185
173
}
186
174
}
0 commit comments