Skip to content

Commit

Permalink
generate v1.31.0 api (#1579)
Browse files Browse the repository at this point in the history
* first gen

* bump ver

* fix build

* fix package version

* fix test
  • Loading branch information
tg123 authored Sep 10, 2024
1 parent 1f71c47 commit f5fee73
Show file tree
Hide file tree
Showing 5 changed files with 6,399 additions and 6,282 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="7.1.2" />
<PackageVersion Include="System.IO.Abstractions.TestingHelpers" Version="20.0.15" />
<PackageVersion Include="System.Reactive" Version="6.0.0" />
<PackageVersion Include="System.Text.Json" Version="7.0.3" />
<PackageVersion Include="System.Text.Json" Version="8.0.4" />
<PackageVersion Include="Vecc.YamlDotNet.Analyzers.StaticGenerator" Version="16.0.0" />
<PackageVersion Include="xunit" Version="2.6.6" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.6" />
Expand Down
2 changes: 1 addition & 1 deletion csharp.settings
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export KUBERNETES_BRANCH=v1.30.0
export KUBERNETES_BRANCH=v1.31.0
export CLIENT_VERSION=0.0.1
export PACKAGE_NAME=k8s
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,9 @@ private static void ManualConfigurations(IMapperConfigurationExpression cfg)
.ForMember(dest => dest.CurrentMetrics, opt => opt.Ignore())
.ReverseMap();

cfg.CreateMap<V1alpha2ResourceClaim, V1ResourceClaim>()
cfg.CreateMap<V1alpha3ResourceClaim, V1ResourceClaim>()
.ForMember(dest => dest.Name, opt => opt.Ignore())
.ForMember(dest => dest.Request, opt => opt.Ignore())
.ReverseMap();

cfg.CreateMap<V1beta3PolicyRulesWithSubjects, V1PolicyRulesWithSubjects>()
Expand Down
Loading

0 comments on commit f5fee73

Please sign in to comment.